RE: Hibernate was Re: News from Webobjecs sessions
RE: Hibernate was Re: News from Webobjecs sessions
- Subject: RE: Hibernate was Re: News from Webobjecs sessions
- From: "Bruce Fancher" <email@hidden>
- Date: Sun, 17 Jun 2007 12:28:31 -0400
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: webobjects-dev-bounces+bruce=email@hidden
[mailto:webobjects-dev-bounces+bruce=email@hidden] 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@hidden
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden