Skip to content

Instantly share code, notes, and snippets.

@abstractj
Last active Dec 16, 2015
Embed
What would you like to do?
<persistence-unit name="picketlink-default"
transaction-type="JTA">
<description>PicketLink Persistence Unit</description>
<!-- This section is possible to be scaffolded -->
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>
<!-- This section will never change, only if PicketLink refactor some class and break compatibility -->
<class>org.picketlink.idm.jpa.schema.IdentityObject</class>
<class>org.picketlink.idm.jpa.schema.PartitionObject</class>
<class>org.picketlink.idm.jpa.schema.RelationshipObject</class>
<class>org.picketlink.idm.jpa.schema.RelationshipIdentityObject</class>
<class>org.picketlink.idm.jpa.schema.RelationshipObjectAttribute</class>
<class>org.picketlink.idm.jpa.schema.IdentityObjectAttribute</class>
<class>org.picketlink.idm.jpa.schema.CredentialObject</class>
<class>org.picketlink.idm.jpa.schema.CredentialObjectAttribute</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.show_sql" value="false"/>
<property name="hibernate.format_sql" value="false"/>
<property name="hibernate.transaction.flush_before_completion"
value="true"/>
</properties>
</persistence-unit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment