Main New Features of Hibernate3 (reprinted)
Major new features of Hibernate3 include:
1: implement the persistence operation of EJB3 style. Besides the original saveOrUpdate () and saveOrUpdateCopy () methods, the create () and merge () operations in EJB3 style are provided.
2: provides stronger ing flexibility. You can map a class to multiple tables, and use the ing policies of "One Table per inheritance system" and "one table per subclass" in combination.
3: supports stored procedures and handwritten SQL statements. You can use handwritten SQL statements to replace the SQL statements automatically generated by Hibernate.
4: HQL parsing Based on AST (Abstract syntax tree.
5: field-level lazy acquisition. Each attribute can be declared "lazy = true" in the ing descriptor, so that the declared attribute will be loaded from the database only when it is actually used. However, to implement this function, you must first enhance the bytecode during the compilation period.
For specific features, visit http://www.hibernate.org/200.html