The Hibernate resource template represents
a
Hibernate resource. Used by component implementations to
access databases, the hibernate is a framework that supports storing Java
objects in a relational database. Hibernate solves object-relational impedance
mismatch by replacing direct database access with high-level, object-handling
functions.
General
Property
Required?
Editable?
Accepts SVars?
Description
Data Source
Y
Y
N
The name of a
JDBC resource that represents the connection to the database.
Schema Generation Type
N
N
N
Indicate whether to create or validate the schema in the database when the session factory is created:
Do Nothing - Indicate that only data is added, changed, and deleted. If the schema does not already exist, the application will experience errors when it runs.
Validate - Validate the schema.
Create - Create the schema every time the session factory is created, deleting old schema and data if it exists.
Create Drop - Same as Create, but drops the schema at the end of the session.
Update - Update the schema with the changes implied by the Java objects being mapped to the database.
Default: Do Nothing.
Dialect
Y
Y
Y
The class name of a Hibernate dialect that enables Hibernate to generate SQL optimized for a particular relational database. The supported dialects are: