java - Benefits of Hibernate over just generated DAL based on db tables and sprocs? -


What is the benefit of being hibernate based on DB tables and sprocs born DAL?

i.e.

  1. Hibernate organizations are regular POJOs that can explain business logic, and if the database If the schema changes, institutions can be customized, there is no need to regenerate them
  2. The code that takes the institutions and keeps them (hibernate-core) widely used It is done and it is supported in many different structures.
  3. Additional features such as transaction management, Java maker based query language and many other features are already included in hibernate, if some of those features are useful, then you will exclude them from the box.

The biggest disadvantage is that you have a fine-grained control, so see how well it is involved in hibernation before you will need to do it ... Also, this is a bit late. To learn to be in hibernation and it is a lot of quirks, you will not start using Hibernation, and in the same week ... I am using it for more than a year and still there are problems which, Sometimes it is difficult to meet


Comments