Any changes in jBPM 7 Persistence.

172 views
Skip to first unread message

Caesar

unread,
Jul 3, 2017, 11:38:19 PM7/3/17
to jBPM Setup
Dear all,

I have tried to configure jBPM7 with MySQL but it still uses "org.hibernate.dialect.H2Dialect" instead of "org.hibernate.dialect.MySQLDialect". Please note that with my configuration there is no problem in jBPM 6.x, however for jBPM7 the configuration is not working.

Any advises would be appreciated.

Kind regards.

Abhijit Humbe

unread,
Jul 4, 2017, 1:56:12 AM7/4/17
to Caesar, jBPM Setup
What steps you are following ? In 7 release only kie-server support execution of process.

Abhijit Humbe

--
You received this message because you are subscribed to the Google Groups "jBPM Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-setup+unsubscribe@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-setup/2af67f53-9726-4147-9d36-65f90f7d7d2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Caesar

unread,
Jul 4, 2017, 3:13:37 AM7/4/17
to jBPM Setup, rad...@gmail.com

Thank you for your response.

My steps are from https://docs.jboss.org/jbpm/release/7.0.0.Final/jbpm-docs/html_single/#_using_your_own_database_with_the_jbpm_installer and upon server initialization I am using "-Dorg.kie.server.persistence.ds=java:jboss/datasources/jbpmDS" as well. Unfortunately in log  it is still:

2017-07-04 06:47:15,663 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 80) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect

Please note that I am installing jBPM from  "jbpm-installer-full-7.0.0.Final.zip"

Thank you again for help.


On Tuesday, July 4, 2017 at 10:56:12 AM UTC+5, Abhijit Humbe wrote:
What steps you are following ? In 7 release only kie-server support execution of process.

Abhijit Humbe

On Tue, Jul 4, 2017 at 9:08 AM, Caesar <rad...@gmail.com> wrote:
Dear all,

I have tried to configure jBPM7 with MySQL but it still uses "org.hibernate.dialect.H2Dialect" instead of "org.hibernate.dialect.MySQLDialect". Please note that with my configuration there is no problem in jBPM 6.x, however for jBPM7 the configuration is not working.

Any advises would be appreciated.

Kind regards.

--
You received this message because you are subscribed to the Google Groups "jBPM Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-setup+...@googlegroups.com.

Maciej Swiderski

unread,
Jul 4, 2017, 3:14:59 AM7/4/17
to Caesar, jBPM Setup
except the changed JNDI name for data source you need to set the dialect too:
-Dorg.kie.server.persistence.dialect=org.hibernate.dialect.MySQL5InnoDBDialect

Maciej

Caesar

unread,
Jul 4, 2017, 4:01:22 AM7/4/17
to jBPM Setup, rad...@gmail.com

Thank you Maciej, it is working!

Lorenzo Ciaravola

unread,
Jul 11, 2017, 12:55:05 PM7/11/17
to jBPM Setup, rad...@gmail.com
Hi Maciej,

I was facing this same problem but using Oracle, and Abhijit was kind enough to suggest the same on another thread I have opened. But I don't understand how am I supposed to know these settings? I haven't found anything as such in the installation guide. Could you please provide some references?

Thanks a lot,

Abhijit Humbe

unread,
Jul 11, 2017, 9:02:23 PM7/11/17
to Lorenzo Ciaravola, jBPM Setup
you can find all available options in documentation

Abhijit Humbe

To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-setup+unsubscribe@googlegroups.com.

To post to this group, send email to jbpm-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages