I also prefer EOF and Cayenne to Hibernate, but I've had to use Hibernate on
a project and it's usable.  It's not great, and certain things like the
criteria api are completely broken to the point of uselessness, but as open
sources projects go I've seen much worse.  I think the use of annotations is
a good thing, one that I'd like to see supported by both Cayenne and EOF
(especially now that EOModeler and other tools are deprecated).  BTW,
Hibernate 3 does support validation, using an annotation-based API that
seems to be fairly decent:
http://www.ibm.com/developerworks/web/library/j-hibval.html.

I think the fact that Hibernate objects are POJOs that don't have to inherit
from a base class or implement an interface, like EOF objects do, is also
pretty useful and doesn't seem to have many drawbacks.  Hibernate also has
pretty good documentation and a lot of useful examples on their web site.
Another very helpful thing is that if you post a message on the support
forums pointing out a bug or design flaw in Hibernate, Gavin King will show
up, completely free of charge, to tell you that this is the way it's
supposed to work, and that anyone who does whatever it is differently is
completely wrong and just doesn't get it.  You just can't get support like
that anywhere else at any price ;-).

BTW, I've looked at JSF briefly and was pretty underwhelmed.  I've tried to
understand Seam, which some people seem to really like, but everytime I've
looked at the documentation and examples, my eyes glaze over and I lose
interest quickly.  I'm curious whether anyone here has looked at it and if
so whether it's actually worth checking out, or if it's just another overly
complicated EJB2-like pile of crap.

Bruce

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Q
Sent: Friday, June 15, 2007 8:08 PM
To: Pierre Bernard
Cc: WebObjects Dev
Subject: Hibernate was Re: News from Webobjecs sessions



On 16/06/2007, at 8:56 AM, Pierre Bernard wrote:

>> We have been seriously investigating Hibernate.
>
> No matter where in the world you are now. You might have heard me 
> crying!

> I had the "pleasure" to be involved in a Hibernate project. I wouldn't 
> know where to start criticizing this whatever you want to call it. I 
> actually purged much of my memory on this experience as to keep my 
> mental sanity.

On the bright side, you survived.

> Hibernate is a joke of a pile of crap! It is by no means a persistence 
> framework. You might at best call it a SQL generator.
> No validation, no object graph management, makes you have SQL-like 
> Strings in your Java code, ...

In the style of Jeremy Clarkson from Top Gear (BBC).

"So if you must to use Hibernate, don't, it's rubbish, use Cayenne instead".

(assuming EOF is not an option)

--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia
Ph: +61 419 729 806


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/bruce%40iterative.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to