Intertech has a new class for Java developers! It is called Complete Hibernate and JPA. You can find out more details here. This class teaches Hibernate 4.2 and JPA 2. Even though Hibernate 5 is not yet out, it also discusses a few anticipated features of Hibernate 5.
Covering native and spec-driven APIs
Some project teams continue to use Hibernate and its native API and non-specification defined features for their application’s persistence layer. Meanwhile, project teams that are attempting to keep to the Java and Java EE specifications for complete application layer transportability and best-of-breed implementation selection use JPA (often picking Hibernate as their JPA implementation of choice). This class is meant to address both developer groups and allow those picking a persistence path to see the advantages/disadvantages of both native Hibernate and specification-driven JPA implementations.
Covering Annotation and XML Mapping
Importantly, the class not only covers native Hibernate and JPA APIs, it also covers both annotation and XML forms of persistence mapping. When mapping Java objects and their associations to other objects to database tables, developers have to choose between Hibernate mapping or JPA forms of mapping. So in reality, the class covers four (4) different ways to map entities and their associations to a database: JPA annotations, JPA XML, Hibernate XML, and Hibernate annotations. There are times when annotating the code isn’t appropriate and XML mapping provides an alternative. This class teaches students how to use either form of entity persistence mapping as well as the pros/cons to each approach.
Along with the APIs and persistence mapping, the class provides an understanding of transitive persistence, lazy/eager loading, transactions, and concurrency controls. Sign up for class today!