Git Product home page Git Product logo

hcf's Introduction

HCF Maven Central

HCF is a generic DAO for database persistence.

Dependency Management

<dependencies>
    ...
    <dependency>
        <groupId>io.github.eduardo-karpinski</groupId>
        <artifactId>hcf-core</artifactId>
        <version>1.0.0</version>
    </dependency>
    ...
</dependencies>

hibernate.properties

# 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.show_sql=false
hibernate.format_sql=false
hibernate.hbm2ddl.auto=update
hibernate.enable_lazy_load_no_trans=false
hibernate.dialect=org.hibernate.dialect.MySQLDialect
hibernate.session.events.log.LOG_QUERIES_SLOWER_THAN_MS=500
hibernate.jdbc.batch_size=20

HCF Wiki

https://github.com/Eduardo-Karpinski/hcf/wiki

Built with

Authors

  • Eduardo W. K. Priester - developer - github

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

hcf's People

Contributors

eduardo-karpinski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.