© 2024 InterSystems Corporation, Cambridge, MA. All rights reserved.Privacy & TermsGuaranteeSection 508Contest Terms
Initial Release
This is the Hibernate 6 Dialect for InterSystems IRIS.
To contribute to this dialect, go to the dialect folder
To install this dialect:
<dependency>
<groupId>io.github.yurimarx</groupId>
<artifactId>hibernateirisdialect</artifactId>
<version>1.1.0</version>
</dependency>
dependencies {
implementation 'io.github.yurimarx:hibernateirisdialect:1.1.0'
}
To use this dialect:
spring.datasource.username=_SYSTEM
spring.datasource.url=jdbc:IRIS://localhost:1972/USER
spring.datasource.password=SYS
spring.datasource.driver-class-name=com.intersystems.jdbc.IRISDriver
spring.jpa.database-platform=io.github.yurimarx.hibernateirisdialect.InterSystemsIRISDialect
spring: datasource: url: jdbc:IRIS://localhost:1972/USER password: SYS username: _SYSTEM jpa: properties: hibernate: dialect: io.github.yurimarx.hibernateirisdialect.InterSystemsIRISDialect
hibernate.connection.url=jdbc:IRIS://localhost:1972/USER
hibernate.connection.driver_class=com.intersystems.jdbc.IRISDriver
hibernate.connection.username=_SYSTEM
hibernate.connection.password=SYS
hibernate.dialect=io.github.yurimarx.hibernateirisdialect.InterSystemsIRISDialect
<hibernate-configuration>
<session-factory>
<property name="connection.url">jdbc:IRIS://localhost:1972/USER</property>
<property name="hibernate.connection.driver_class">com.intersystems.jdbc.IRISDriver</property>
<property name="connection.username">_SYSTEM</property>
<property name="connection.password">SYS</property>
<property name="dialect">io.github.yurimarx.hibernateirisdialect.InterSystemsIRISDialect</property>
<property name="hibernate.hbm2ddl.auto">create-drop</property>
</session-factory>
</hibernate-configuration>
To execute unit the dialect unit tests or get a java hibernate sample, go to the folder tests-java-sample