Sorry if i did not explain it clearly
I set <java>DbIdentityUsed</java> to <java>False</java>, I clear the db and restart the system, Then when i try to access the system i get an error saying that it can not find the user table. when i check the DB i saw that all the Identity tables are not created. ACT_ID_GROUP, INFO, MEMBER AND USER tables are not created.
error log
<java> org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "SELECT RES.*
FROM ACT_ID_USER RES
WHERE RES.ID_ = ?
ORDER BY ORDER
BY RES.ID_ ASC LIMIT ? OFFSET ? "; expected "=, NOT, EXISTS, INTERSECTS, SELECT, FROM"; SQL statement:
select RES.*
from ACT_ID_USER RES
WHERE RES.ID_ = ?
order by order by RES.ID_ asc
LIMIT ? OFFSET ? [42001-190]
### The error may exist in org/activiti/db/mapping/entity/User.xml
### The error may involve org.activiti.engine.impl.persistence.entity.UserEntity.selectUserByQueryCriteria
### The error occurred while executing a query
### SQL: select RES.* from ACT_ID_USER RES WHERE RES.ID_ = ? order by order by RES.ID_ asc LIMIT ? OFFSET ?
### Cause: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "SELECT RES.*
FROM ACT_ID_USER RES
WHERE RES.ID_ = ?
ORDER BY ORDERBY RES.ID_ ASC LIMIT ? OFFSET ? "; expected "=, NOT, EXISTS, INTERSECTS, SELECT, FROM"; SQL statement:
select RES.*
from ACT_ID_USER RES
WHERE RES.ID_ = ?
order by order by RES.ID_ asc
LIMIT ? OFFSET ? [42001-190]
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) ~[mybatis-3.3.0.jar:3.3.0]
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:122) ~[mybatis-3.3.0.jar:3.3.0]
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:113) ~[mybatis-3.3.0.jar:3.3.0] </java>
Thank you