`

Hibernate JPA advantage with pure hibernate

阅读更多
Compared to pure Hibernate,
you now have these benefits:
■ Automatic scanning of deployed metadata, an important feature in large
projects. Maintaining a list of annotated classes or mapping files becomes
difficult if hundreds of entities are developed by a large team.
■ Standardized and simplified configuration, with a standard location for the
configuration file, and a deployment concept—the persistence unit—that
has many more advantages in larger projects that wrap several units (JARs)
in an application archive (EAR).
■ Standardized data access code, entity instance lifecycle, and queries that are
fully portable. There is no proprietary import in your application.
These are only some of the advantages of JPA. You’ll see its real power if you combine
it with the full EJB 3.0 programming model and other managed components.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics