File tree Expand file tree Collapse file tree
conf/keycloak/builtin-users-spi/src/main/resources/META-INF Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 <!-- JDBC connection settings -->
1414 <property name =" hibernate.connection.datasource" value =" user-store" />
1515
16- <!-- Database connection properties for PostgreSQL -->
17- <property name =" hibernate.connection.driver_class" value =" org.postgresql.Driver" />
18- <property name =" hibernate.connection.url" value =" jdbc:postgresql://postgres:5432/dataverse" />
19- <property name =" hibernate.connection.username" value =" ${DATAVERSE_DB_USER}" />
20- <property name =" hibernate.connection.password" value =" secret" />
16+ <!-- Transaction management settings -->
17+ <property name =" jakarta.persistence.transactionType" value =" JTA" />
18+
19+ <!-- Automatically update database schema -->
20+ <property name =" hibernate.hbm2ddl.auto" value =" none" />
21+
22+ <!-- Disable SQL logging -->
23+ <property name =" hibernate.show_sql" value =" false" />
24+ </properties >
25+ </persistence-unit >
26+
27+ <persistence-unit name =" user-store-qa" transaction-type =" JTA" >
28+ <class >edu.harvard.iq.keycloak.auth.spi.models.DataverseBuiltinUser</class >
29+ <class >edu.harvard.iq.keycloak.auth.spi.models.DataverseAuthenticatedUser</class >
30+ <properties >
31+ <!-- Set the Hibernate dialect for PostgreSQL -->
32+ <property name =" hibernate.dialect" value =" org.hibernate.dialect.PostgreSQLDialect" />
33+
34+ <!-- JDBC connection settings -->
35+ <property name =" hibernate.connection.datasource" value =" user-store-qa" />
2136
2237 <!-- Transaction management settings -->
2338 <property name =" jakarta.persistence.transactionType" value =" JTA" />
You can’t perform that action at this time.
0 commit comments