Applications Systems
Error logging in to DPA: Invalid object name 'CONPRM'
When logging in to DPA you receive the following error: DPA was stopped due to the following error. DPA is attempting to restart try again in 30 seconds. org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select V from CONPRM where P = ?]; nested exception is java.sql.SQLException: Invalid object name 'CONPRM'
First published date
Last published date
Overview
When logging in to DPA, you receive the following error:
DPA was stopped due to the following error. DPA is attempting to restart try again in 30 seconds.
org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select V from CONPRM where P = ?]; nested exception is java.sql.SQLException: Invalid object name 'CONPRM'
Product section
Cause
- The repository login was assigned to the
sysadminserver role. - A login assigned to the
sysadminserver role always defaults to thedboschema, regardless of what is in the user mapping. The login will not see tables in theigniteschema, because it is looking at thedboschema. Instead of looking forignite.CONPRM, it looks fordbo.CONPRM. - When you remove the repository login from the
sysadminserver role, the repository login can default to theigniteschema.
Resolution
- Remove the repository login from the
sysadminserver role.
For more information see ALTER SERVER ROLE - Add the repository login to the
db_ownerdatabase role.
For more information see ALTER ROLE - Make sure the repository login defaults to the
igniteschema.
For more information see ALTER USER - Restart DPA.