w**e 发帖数: 37 | 1 学着用了一段时间,麻烦,运行慢,远没有JDBC简单好用。也没体会到那些书上写的优
点。
这里用hibernate的大侠们给讲讲 |
g*****g 发帖数: 34805 | 2 POJO rocks, and I don't think it's slow.
【在 w**e 的大作中提到】 : 学着用了一段时间,麻烦,运行慢,远没有JDBC简单好用。也没体会到那些书上写的优 : 点。 : 这里用hibernate的大侠们给讲讲
|
c*****t 发帖数: 1879 | 3 It is the question of manual vs automatic, simple vs complex schema.
You can relate the similar experience in XML parsing (which is fact
identical if one is using XML as data storage).
【在 w**e 的大作中提到】 : 学着用了一段时间,麻烦,运行慢,远没有JDBC简单好用。也没体会到那些书上写的优 : 点。 : 这里用hibernate的大侠们给讲讲
|
s******e 发帖数: 493 | 4 Well. All the ORMs claim that they are trying to fill the gap between the
objects and relational databases. Personally I do not buy the claim. The gap
exists, but there is no need to fill.
I use the orm mainly because it saves me from directly manupilating the
result sets. Again because almost all orms use java reflection to populate
the data, it is slower than plain jdbc (one of main reasons). To ease this,
almost all of them provide you some object instance caching mechanisms.
Some other reaso |