|
|
|||||||
|
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, ;-) |