**DONOTDELETE**
(Unregistered)
01/16/08 06:32 PM
Re: J2EE design decisions


Hibernate is a black box! sometimes you don't know how it works!!!, hibernate maintenance could be a hard work. If you use SQL you can test you code directly and besides sql perfomance is upper to hibernate performance.

In my experience I think is better to use hibernate to save, update and delete and It's better to use native SQL o store procedures to retrieve database information.

Remember this when you use hibernate and you will have to retrieve a simple object, if you don't control the lazy flag you will be dead, becasue hibernate can retrives you all the database, ;-)



Contact us JavaWorld

Powered by UBB.threads™ 6.5.5

Featured White Papers


RESEARCH CENTERS: Java Standard Edition | Java Enterprise Edition | Java Micro Edition | Development Tools
About Us | Advertise | Contact Us | Terms of Service/Privacy
Copyright, 2006-2008 Network World, Inc. All rights reserved.