[jboss-user] [jBPM] New message: "Re: JBPM won't save data in the database"
Sakthivelmurugan KG
do-not-reply at jboss.com
Sat Jan 16 02:38:34 EST 2010
User development,
A new message was posted in the thread "JBPM won't save data in the database":
http://community.jboss.org/message/520422#520422
Author : Sakthivelmurugan KG
Profile : http://community.jboss.org/people/Sakthivel_kg
Message:
--------------------------------------------------------------
hey,
I am having the same problem. I am using JBPM 3.2.3 and MySQL 5. Can you please help what should i do to fix this?
Here is my jbpm.cfg.xml:
<jbpm-configuration>
<!--
The default configurations can be found in org/jbpm/default.jbpm.cfg.xml
Those configurations can be overwritten by putting this file called
jbpm.cfg.xml on the root of the classpath and put in the customized values.
-->
<jbpm-context>
<service name='persistence'
factory='org.jbpm.persistence.db.DbPersistenceServiceFactory' />
</jbpm-context>
<string name='resource.hibernate.cfg.xml' value='hibernate.cfg.xml' />
</jbpm-configuration>
Here is my hibernate.cfg.xml (some part):
?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.MySQLDialect</property>
<!-- JDBC connection properties (begin) -->
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost/JBPM</property>
<property name="hibernate.connection.username">cygnet</property>
<property name="hibernate.connection.password">cygnet</property>
<property name="hibernate.connection.autocommit">true</property>
<!-- JDBC connection properties (end) -->
Regards,
Sakthi
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520422#520422
More information about the jboss-user
mailing list