Hi Users,

I have a question regarding the entity engine of OFBiz.
Currently I have an application in which I am using Hibernate as 
Persistence Manager. For this I am using a configuration file
to set the Persistence Manager for my application. 
Now instead of this I want to use the OFBiz entity engine persistence 
Manager. 
So can you tell me what are the things I need to change to use the entity 
engine persistence manager.

Configuration File I am using to set Hibernate is :

<persistence-unit name="org.my.persistence.jpa">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>jdbc/processInstanceDS</jta-data-source>
    <class>org.my.persistence.session.SessionInfo</class>
    <class>org.my.persistence.processinstance.ProcessInstanceInfo</class>
 
<class>org.my.persistence.processinstance.ProcessInstanceEventInfo</class>
    <class>org.my.persistence.processinstance.WorkItemInfo</class>

    <properties>
      <property name="hibernate.dialect" 
value="org.hibernate.dialect.H2Dialect"/>
      <property name="hibernate.max_fetch_depth" value="3"/>
      <property name="hibernate.hbm2ddl.auto" value="update"/>
      <property name="hibernate.show_sql" value="true"/>
      <property name="hibernate.transaction.manager_lookup_class"
 value="org.hibernate.transaction.BTMTransactionManagerLookup"/>
    </properties>
  </persistence-unit>
</persistence>

Is it possible to use OFBiz entity engine outside OFBIz?
Also if I am deploying my application inside OFBiz , so then can I use 
entity engine ?

Please help to clear my doubt.




Thanks & Regards

Pardeep Ruhil


______________________________________________________________________

Reply via email to