Getting Started with Java Hibernate

Java developers who wish to use Hibernate ORM


Expected Duration
120 minutes

Java Hibernate allows you to create, save, and update data objects in a supported database. You can update or read back these objects into a Java program. In this course, you’ll learn about the basics of reading and writing objects to your RDBMS. You will also explore transactions and batches, caching, and basic data mapping.


Getting Started

  • start the course
  • set up JAR files, configure a SessionFactory connection to a database, and use a ConfigHelper class to load Hibernate into a command-line application
  • configure Java Hibernate to work with applications
  • create, save, and update Java Hibernate data objects using the Save, Persist, and saveOrUpdate options
  • process and update transient data from outside the current flow of Hibernate CRUD operations
  • use the update and merge methods in Java Hibernate
  • delete different types of data in Java Hibernate
  • load data using Java Hibernate
  • use the Interceptor API in Java Hibernate to access, monitor, maintain, and manage key events in the persistence life cycle

Transactions, Batches, and Logging

  • load an application using the JPA approach instead of Java Hibernate
  • manage sessions and transactions in Java Hibernate
  • use the executeUpdate command as part of a query to do batch and bulk updates
  • use the log4j framework to configure the logging of information

Caching and Custom Types

  • use second level caching in Java Hibernate
  • use the unique item query in Java Hibernate
  • define custom types in Java Hibernate
  • filter data in Java Hibernate

Mapping Data

  • allow Java Hibernate to create a table structure
  • implement multiple mappings of tables in Java Hibernate
  • implement a basic mapping using annotations in Java Hibernate
  • create XML mapping between a class and a table in Java Hibernate
  • expand an object model in Java Hibernate
  • use XML mapping options to allow the framework to automatically maintain the relationship between Java classes and database tables in Hibernate





Multi-license discounts available for Annual and Monthly subscriptions.