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

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

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<persistence version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/persistence">
    <persistence-unit name="org.drools.task">
        <provider>org.hibernate.ejb.HibernatePersistence</provider>
        <class>org.drools.task.Attachment</class>
        <class>org.drools.task.Content</class>
        <class>org.drools.task.BooleanExpression</class>
        <class>org.drools.task.Comment</class>
        <class>org.drools.task.Deadline</class>
        <class>org.drools.task.Comment</class>
        <class>org.drools.task.Deadline</class>
        <class>org.drools.task.Delegation</class>
        <class>org.drools.task.Escalation</class>
        <class>org.drools.task.Group</class>
        <class>org.drools.task.I18NText</class>
        <class>org.drools.task.Notification</class>
        <class>org.drools.task.EmailNotification</class>
        <class>org.drools.task.EmailNotificationHeader</class>
        <class>org.drools.task.PeopleAssignments</class>
        <class>org.drools.task.Reassignment</class>
        <class>org.drools.task.Status</class>
        <class>org.drools.task.Task</class>
        <class>org.drools.task.TaskData</class>
        <class>org.drools.task.SubTasksStrategy</class>
        <class>org.drools.task.OnParentAbortAllSubTasksEndStrategy</class>
        <class>org.drools.task.OnAllSubTasksEndParentEndStrategy</class>

        <class>org.drools.task.User</class>

	    <properties>
	        <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
	        <property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
	        <property name="hibernate.connection.url" value="jdbc:h2:mem:mydb" />
	        <!--  property name="hibernate.connection.url" value="jdbc:h2:file:\dev\drools\trunk7\drools-process\drools-process-task\mydb"/ -->

<!--			<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>-->
<!--	        <property name="hibernate.connection.driver_class" value="org.postgresql.Driver"/>	  	        -->
<!--	        <property name="hibernate.connection.url" value="jdbc:postgresql://localhost/postgres"/>-->


	        <property name="hibernate.connection.username" value="sa"/>
	        <property name="hibernate.connection.password" value="sasa"/>
	        <property name="hibernate.connection.autocommit" value="false" />
	        <property name="hibernate.max_fetch_depth" value="3"/>
		    <property name="hibernate.hbm2ddl.auto" value="create" />
            <property name="hibernate.show_sql" value="true" />
	    </properties>
    </persistence-unit>

</persistence>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy