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

89 lines
5.1 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>
2013-11-06 02:26:33 +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>
2014-06-10 22:50:08 +00:00
<class>org.keycloak.models.jpa.entities.RoleEntity</class>
2013-11-06 02:26:33 +00:00
<class>org.keycloak.models.jpa.entities.SocialLinkEntity</class>
<class>org.keycloak.models.jpa.entities.AuthenticationLinkEntity</class>
2013-11-06 02:26:33 +00:00
<class>org.keycloak.models.jpa.entities.UserEntity</class>
2014-05-17 18:24:32 +00:00
<class>org.keycloak.models.jpa.entities.ClientUserSessionAssociationEntity</class>
2014-05-07 08:33:29 +00:00
<class>org.keycloak.models.jpa.entities.UserSessionEntity</class>
2014-04-14 22:58:45 +00:00
<class>org.keycloak.models.jpa.entities.UsernameLoginFailureEntity</class>
2013-11-06 02:26:33 +00:00
<class>org.keycloak.models.jpa.entities.UserRoleMappingEntity</class>
2014-02-27 21:48:34 +00:00
<class>org.keycloak.models.jpa.entities.ScopeMappingEntity</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:15:53 +00:00
<property name="hibernate.show_sql" value="true" />
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>
2014-04-03 15:27:22 +00:00
<persistence-unit name="jpa-keycloak-audit-store" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<class>org.keycloak.audit.jpa.EventEntity</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<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=""/>
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
<property name="hibernate.show_sql" value="false" />
<property name="hibernate.format_sql" value="true" />
</properties>
</persistence-unit>
2014-01-30 01:19:32 +00:00
<!--
<persistence-unit name="picketlink-keycloak-identity-store" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<class>org.picketlink.idm.jpa.model.sample.simple.AttributedTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.AccountTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.RoleTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.GroupTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.IdentityTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.RelationshipTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.RelationshipIdentityTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.PartitionTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.PasswordCredentialTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.DigestCredentialTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.X509CredentialTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.OTPCredentialTypeEntity</class>
<class>org.picketlink.idm.jpa.model.sample.simple.AttributeTypeEntity</class>
<class>org.keycloak.models.picketlink.mappings.RealmEntity</class>
<class>org.keycloak.models.picketlink.mappings.ApplicationEntity</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
2013-09-26 13:09:02 +00:00
<properties>
<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=""/>
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
<property name="hibernate.show_sql" value="false" />
<property name="hibernate.format_sql" value="true" />
</properties>
</persistence-unit>
2014-01-30 01:19:32 +00:00
-->
2013-08-22 09:14:44 +00:00
</persistence>