cancel
Showing results for 
Search instead for 
Did you mean: 

Can I change the schema of the activiti tables?

sky1
Champ in-the-making
Champ in-the-making
I found the sqls in activiti.mssql.create.*.sql files weren't used schema.
If I add the schema to those table in my project, can the acitivit services read the table correctly?
If not , is there any settings to tell activiti to use schema to read tables.

(database version is sql server 2005, and activiti version is 5.6.)
1 REPLY 1

tomcheng76
Champ in-the-making
Champ in-the-making
To change the database

search "ant cfg.create" in

http://jira.codehaus.org/secure/attachment/55280/index.pdf

only works in 5.6, not working in 5.7.

For changing default schema, you may edit the following files

1. activiti-engine-5.7.jar\org\activiti\db\mapping\entity\*.xml

2. your DataSource properties, something like hibernate.default_schema

Hope you find the answer and post it back Smiley Happy