Showing posts with label com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-7. Show all posts
Showing posts with label com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-7. Show all posts

Tuesday, June 23, 2015

SQLCODE=-7, SQLSTATE=42601

Issue : com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-7, SQLSTATE=42601

While testing EJB from test client in IBM wcs - If u are getting above issue.

1. Recreate table in NULLID.
2. Save your .dbm file
3. Do mapping again.
4.Do prepare for deployment
5. Regenerate accessbean
6. Test again - It will work