[jboss-user] [JBoss jBPM] - Re: About integrating JBPM in an existing EAR

armita do-not-reply at jboss.com
Tue Jul 21 13:44:53 EDT 2009


I copied the samples config files. The only change in hibernate config which is as follow:

  | <?xml version="1.0" encoding="utf-8"?>
  | 
  | <!DOCTYPE hibernate-configuration PUBLIC
  |           "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  |           "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  | 
  | <hibernate-configuration>
  |   <session-factory>
  |   <!-- hibernate dialect -->
  |     <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
  | 
  | 
  |   	<property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
  |     <property name="hibernate.connection.url">jdbc:postgresql://localhost/mediagateway</property>
  |     <property name="hibernate.connection.username">user</property>
  |     <property name="hibernate.connection.password">pass</property>
  |     <!-- Automatic schema creation (begin) -->
  |     <property name="hibernate.hbm2ddl.auto">update</property>
  |     <property name="hibernate.current_session_context_class">org.hibernate.context.ThreadLocalSessionContext</property>
  |      
  |      <mapping resource="jbpm.repository.hbm.xml" />
  |      <mapping resource="jbpm.execution.hbm.xml" />
  |      <mapping resource="jbpm.history.hbm.xml" />
  |      <mapping resource="jbpm.task.hbm.xml" />
  |      <mapping resource="jbpm.identity.hbm.xml" />
  |      <mapping resource="MyEntity.hbm.xml"/> 
  |   </session-factory>
  | </hibernate-configuration>
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245077#4245077

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245077



More information about the jboss-user mailing list