keycloak-scim/testsuite/integration/src/main/resources/META-INF/persistence.xml

42 lines
2.3 KiB
XML
Raw Normal View History

2013-08-22 09:14:44 +00:00
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
2013-11-06 02:26:33 +00:00
<persistence-unit name="jpa-keycloak-identity-store" transaction-type="RESOURCE_LOCAL">
2013-09-26 13:09:02 +00:00
<provider>org.hibernate.ejb.HibernatePersistence</provider>
2014-07-09 10:31:30 +00:00
<class>org.keycloak.models.jpa.entities.ApplicationEntity</class>
<class>org.keycloak.models.jpa.entities.CredentialEntity</class>
<class>org.keycloak.models.jpa.entities.OAuthClientEntity</class>
<class>org.keycloak.models.jpa.entities.RealmEntity</class>
<class>org.keycloak.models.jpa.entities.RequiredCredentialEntity</class>
<class>org.keycloak.models.jpa.entities.AuthenticationProviderEntity</class>
<class>org.keycloak.models.jpa.entities.RoleEntity</class>
<class>org.keycloak.models.jpa.entities.SocialLinkEntity</class>
<class>org.keycloak.models.jpa.entities.AuthenticationLinkEntity</class>
<class>org.keycloak.models.jpa.entities.UserEntity</class>
<class>org.keycloak.models.jpa.entities.UserRoleMappingEntity</class>
<class>org.keycloak.models.jpa.entities.ScopeMappingEntity</class>
2013-08-22 09:14:44 +00:00
<!-- JpaUserSessionProvider -->
<class>org.keycloak.models.sessions.jpa.entities.ClientUserSessionAssociationEntity</class>
<class>org.keycloak.models.sessions.jpa.entities.UserSessionEntity</class>
<class>org.keycloak.models.sessions.jpa.entities.UsernameLoginFailureEntity</class>
<!-- JpaAuditProvider -->
<class>org.keycloak.audit.jpa.EventEntity</class>
2013-08-22 09:14:44 +00:00
<exclude-unlisted-classes>true</exclude-unlisted-classes>
2013-09-26 13:09:02 +00:00
2013-08-22 09:14:44 +00:00
<properties>
2013-09-26 13:09:02 +00:00
<property name="hibernate.connection.url" value="jdbc:h2:mem:test"/>
<property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
<property name="hibernate.connection.username" value="sa"/>
<property name="hibernate.connection.password" value=""/>
2013-08-22 09:14:44 +00:00
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
2014-06-16 14:28:06 +00:00
<property name="hibernate.show_sql" value="false" />
2013-09-26 13:09:02 +00:00
<property name="hibernate.format_sql" value="true" />
2013-08-22 09:14:44 +00:00
</properties>
</persistence-unit>
</persistence>