fmarchioni / mastertheboss

Source code for mastertheboss.com
MIT License
197 stars 581 forks source link

PGXADataSource wrong configuration? #50

Closed ffroliva closed 1 year ago

ffroliva commented 2 years ago

Is this line correct?

https://github.com/fmarchioni/mastertheboss/blob/4f058f0ab11533c848f4feb6342b6de5fc77059b/jbpm/business-application-postgresql/business-application-service/src/main/resources/application.properties#L38

Shouldn't it be:

spring.datasource.xa.data-source-class-name=org.postgresql.xa.PGXADataSource
spring.datasource.driver-class-name=org.postgresql.Driver
fmarchioni commented 2 years ago

Hi, I think the DS driver class name is not needed to run the example:

spring.datasource.driver-class-name=org.postgresql.Driver

I have used as a template the jbpm starters ( https://github.com/business-applications/01-tutorial-first-business-application/blob/master/business-application-service/src/main/resources/application-postgres.properties) where that line is not included as well. regards Francesco

Il giorno mar 5 lug 2022 alle ore 14:36 Flavio Oliva < @.***> ha scritto:

Is this line correct?

https://github.com/fmarchioni/mastertheboss/blob/4f058f0ab11533c848f4feb6342b6de5fc77059b/jbpm/business-application-postgresql/business-application-service/src/main/resources/application.properties#L38

Shouldn't it be:

spring.datasource.xa.data-source-class-name=org.postgresql.xa.PGXADataSource spring.datasource.driver-class-name=org.postgresql.Driver

— Reply to this email directly, view it on GitHub https://github.com/fmarchioni/mastertheboss/issues/50, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKBNDOPMSLXQEUDOB6AYATVSQT5TANCNFSM52WCI4EQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>