tag:blogger.com,1999:blog-14415229.post8119099781671899310..comments2023-10-10T16:55:02.139+02:00Comments on Chase The Devil: Use ORM For Better PerformanceFabienhttp://www.blogger.com/profile/07288327695801480778noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-14415229.post-62802106299540867922009-10-16T03:40:34.243+02:002009-10-16T03:40:34.243+02:00I agree with your article and many of the comments...I agree with your article and many of the comments. However, an ORM is never perfect and should not be trusted to always produce the most efficient SQL statements.<br />http://soastation.blogspot.com/2009/09/sanity-check-your-orm.htmlPeter O'Brienhttps://www.blogger.com/profile/05549543084958276823noreply@blogger.comtag:blogger.com,1999:blog-14415229.post-78451618675076730142007-06-18T15:53:00.000+02:002007-06-18T15:53:00.000+02:00rondeth, I had the same experience with an EJB 1.1...rondeth, I had the same experience with an EJB 1.1(! +extensions) project. Tweaking generated queries was relatively easy (although not that good to deal with when using EJB bastards). Hand written queries were the most problematic ones for performance.<BR/><BR/>I would definately not advocate EJB < 3 use (because it makes the dev cycle so much longer for so little benefit), but Hibernate, any day!Fabienhttps://www.blogger.com/profile/07288327695801480778noreply@blogger.comtag:blogger.com,1999:blog-14415229.post-42652198722853996392007-06-15T17:03:00.000+02:002007-06-15T17:03:00.000+02:00For what it's worth, we use Hibernate in a large e...For what it's worth, we use Hibernate in a large enterprise project with a large model running against DB2/400. I think we've got a good design going, careful to avoid blowing our proverbial foot off with this powerful tool. <BR/><BR/>Recently, we were doing some intensive database query investigation...and Hibernate queries (& related ops) were VERY fast. In fact, all of the problematic ones were hand-written.Unknownhttps://www.blogger.com/profile/06428896311946504225noreply@blogger.comtag:blogger.com,1999:blog-14415229.post-74666297635945371002007-06-12T14:08:00.000+02:002007-06-12T14:08:00.000+02:00A big plus with using ORMs in my view, is the nice...A big plus with using ORMs in my view, is the nice loosely coupled evolution of your domain model and persistence model side by side. Using Hibernate annotations allow you to have your database model map nicely to the domain model. In case you are allergic to annotations being used in POJOs, you can go for XML anyway.Anonymoushttps://www.blogger.com/profile/01613713587074301135noreply@blogger.com