Angus Berry wrote:

I was wondering what you don't like about Hibernate? I have a couple of
OJB projects, but hear a lot of talk about Hibernate. Someone close to
Hibernate said that their caching was better.

I don't plan on switch anything, but I'd appreciate any insight from
folks who know both products.


This is based on comparison reading that I've done, not actual use. What I don't like is that they use their own SQL language, and I don't want to learn yet another SQL language, or I would use JDBC. Their own query language is just a pain too as far as I'm concerned. as an example to do a find:


List mates = sess.find(
   "select mate from Cat as cat join cat.mate as mate " +
   "where cat.name = ?",
   name,
   Hibernate.STRING
);

it's almost as much typing as SQL.

Now they've recently added ODMG3 support, and it does make it more interesting.

Like I said, the language seems easier for me in OJB. I might be wrong.

R

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to