As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
hello, i have a problem with activiti-rest, when i configure my database postgresql in db.proprietes, the creation of tables is done automatically in the public shemas, i want to change shema how i do to give it my own shema
Hi Yasmine,
If you're using postgreSQL JDBC driver 9.4 or above, you can use the jdbc url param "currentSchema"
datasource.url=jdbc:smileytongue:ostgresql://localhost:5432/activitiapp?currentSchema=someotherschema
if using previous versions I have read that you can use the "search-path" param instead but it seems undocumented.
thank you i have this configuration how can i modifie it
db=postgresjdbc.driver=org.postgresql.Driverjdbc.url=jdbcostgresql://localhost:5432/activitijdbc.username=postgresjdbc.password=postgres
The normal activiti property for activiti should be datasource.url...not sure why you use someting different (I guess you're integrating activiti in another project...?)
Anyway... try to change:
jdbc.url=jdbc:smileytongue:ostgresql://localhost:5432/activiti
to:
jdbc.url=jdbc:smileytongue:ostgresql://localhost:5432/activiti<span>?currentSchema=someotherschema</span>
As stated before "currentSchema" works only for 9.4 postgres jdbc driver and above. MAke sure you have the right version.