Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.16 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.16 KB

SQLite dialect for Hibernate 4.x

Build Status

With this dialect the Hibernate can use SQLite database.

Based on Hibernate 4.3.11.Final.

Source

This code is based on SQLite dialect for Hibernate 5: https://github.com/gwenn/sqlite-dialect Thanks @gwenn (original author) for the work.

Maven repository

<dependency>
  <groupId>com.enigmabridge</groupId>
  <artifactId>hibernate4-sqlite-dialect</artifactId>
  <version>0.1.2</version>
</dependency>

Gradle

compile 'com.enigmabridge:hibernate4-sqlite-dialect:0.1.2'

Hibernate configuration

Set the dialect property hibernate.dialect to the class name com.enigmabridge.hibernate.dialect.SQLiteDialect

Hibernate

hibernate.properties

hibernate.dialect = com.enigmabridge.hibernate.dialect.SQLiteDialect

Spring boot

application.properties

spring.jpa.properties.hibernate.dialect = com.enigmabridge.hibernate.dialect.SQLiteDialect

Contributing

Pull requests and bug reports are welcome