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=jdbcostgresql://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=postgres
jdbc.driver=org.postgresql.Driver
jdbc.url=jdbcostgresql://localhost:5432/activiti
jdbc.username=postgres
jdbc.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=jdbcostgresql://localhost:5432/activiti
to:
jdbc.url=jdbcostgresql://localhost:5432/activiti?currentSchema=someotherschema
As stated before "currentSchema" works only for 9.4 postgres jdbc driver and above. MAke sure you have the right version.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.