Hibernate
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 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:
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:
Default: com.tibco.amf.sharedresource.runtime.core.hibernate.dialects.HSQLDialect |
Advanced
Property | Required? | Editable? | Accepts SVars? | Description |
---|---|---|---|---|
Enable SQL Logging | N | N | Y |
Permit data collection in the SQL Server transaction log file. Default: Unchecked. |
Batch Size | N | Y | Y |
Enables JDBC batch processing. Default: 5. |
Share Session Factory | N | Y | Y |
Indicate whether clients share the session factory or whether a new factory is created for each client. Default: Checked. |
Properties | N | Y | N |
Hibernate configuration properties:
|