[jboss-user] [jBPM] - Re: Write records on jBoss datasource using hibernate

Maciej Swiderski do-not-reply at jboss.com
Fri Jan 4 10:43:42 EST 2013

Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Write records on jBoss datasource using hibernate"

To view the discussion, visit: https://community.jboss.org/message/787632#787632

alright in hibernate.cfg.xml remove following entries

<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.url">jdbc:mysql://</property>
<property name="connection.pool_size">5</property>

and then add this one:

<property name="hibernate.connection.datasource">java:/jdbc/jbpm-ds</property>

another thing is that your persistence.xml has some weird configs like on one missing the provider element on the other data source element. Might be good to configure it in consistent way to avoid troubles with it. Unless you have done that on purpose that I am not aware of  :) 


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130104/0c5912dd/attachment.html 

More information about the jboss-user mailing list