Main New Features of Hibernate3

Source: Internet
Author: User
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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.