Synopsis
The stack is provided as a service for other tech stacks requiring Hibernate configuration. Hibernate is a Java-based Object-to-Relational-Mapping API which assists in interacting with most popular relational databases.
Note: This tech stack should be derived from and never used directly during a project generation session.
Details
GIT Url:
https://github.com/Harbormaster-AI/techstacks/tree/main/.hibernate.tech.stack
Language(s): XML
Options
Option Name |
description |
Type |
values |
hibernate |
hibernate.connection.driver.class |
The driver class to use to connect to a specific database type |
|
default: com.mysql.jdbc.Driver
Complete list of driver classes |
hibernate.connection.username |
Name required to connect to a database instanace |
input |
|
hibernate.connection.password |
Password required to connect to a database instance |
input |
|
hibernate.dialect |
Database dialect connecting to |
se;ect |
default: org.hibernate.dialect.MySQL8Dialect
Complete list of dialects |
hibernate.max.fetch.depth |
How deep within an object hierarchy to read. Care should be used when using anything but 1 |
spinner |
default: 1 |
hibernate.connection.url |
JDBC syntax URL used to connect to the database. |
spinner |
|
cp30 – connection pooling |
hibernate.c3p0.min_size |
|
spinner |
default: 5 |
hibernate.c3p0.max_size |
|
input |
default: 600 |
hibernate.c3p0.timeout |
|
spinner |
default: 1800 |
hibernate.c3p0.max_statements |
|
spinner |
default: 50 |
hibernate.c3p0.preferredTestQuery |
|
input |
default: SELECT 1; |
hibernate.c3p0.testConnectionOnCheckout |
|
boolean |
default: true |
hibernate.c3p0.idle_test_period |
|
spinner |
default: 3000 |