All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.persistence.xml Maven / Gradle / Ivy

<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">
    <persistence-unit name="ACL" transaction-type="RESOURCE_LOCAL">
    	<provider>org.hibernate.ejb.HibernatePersistence</provider>
    	<class>org.jboss.security.acl.ACLImpl</class>
    	<class>org.jboss.security.acl.ACLEntryImpl</class>
    	<exclude-unlisted-classes>true</exclude-unlisted-classes>
	    <properties>
		    <property name="hibernate.connection.url" value="jdbc:hsqldb:mem:unit-testing-jpa"/>
         	<!-- <property name="hibernate.connection.url" value="jdbc:hsqldb:hsql://localhost:9001/firstdb"/> -->
        	<property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver"/>
        	<property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
        	<property name="hibernate.hbm2ddl.auto" value="update"/> <!-- create-drop -->
        	<property name="hibernate.connection.username" value="sa"/>
        	<property name="hibernate.connection.password" value=""/>
        	<!-- <property name="hibernate.show_sql" value="true"/> -->
    	</properties>
	</persistence-unit>
</persistence>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy