HCF is a generic DAO for database persistence.
<dependencies>
...
<dependency>
<groupId>io.github.eduardo-karpinski</groupId>
<artifactId>hcf-core</artifactId>
<version>1.0.2</version>
</dependency>
...
</dependencies>
# example hibernate.properties
# mysql database used for reference
# property hibernate.c3p0 need hibernate-c3p0 dependency to work
# hibernate
hibernate.connection.username=user
hibernate.connection.password=pass
hibernate.connection.driver_class=com.mysql.cj.jdbc.Driver
hibernate.connection.url=jdbc:mysql://localhost:3306/db?useTimezone=true&serverTimezone=America/Sao_Paulo
# c3p0
hibernate.c3p0.min_size=5
hibernate.c3p0.max_size=10
hibernate.c3p0.timeout=3000
hibernate.c3p0.max_statements=30
# others
hibernate.hbm2ddl.auto=update
hibernate.session.events.log.LOG_QUERIES_SLOWER_THAN_MS=500
https://github.com/Eduardo-Karpinski/hcf/wiki
- hibernate-orm - Framework used.
- reflections - Framework used.
- Eduardo W. K. Priester - developer - github
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details