Bug in a JPetStore-5.0 sample application.
------------------------------------------
Key: IBATIS-411
URL: https://issues.apache.org/jira/browse/IBATIS-411
Project: iBatis for Java
Issue Type: Bug
Components: Tools
Environment: JPetStore-5.0 run on MySQL Server 5.0
Reporter: Mariusz LipiĆski
Priority: Trivial
Parts of a stack trace that explains everything:
Caused by: com.ibatis.dao.client.DaoException: Failed to execute queryForObject
- id [getItem]
(...)
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in
com/ibatis/jpetstore/persistence/sqlmapdao/sql/Item.xml.
(...)
Caused by:
com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Column
'ITEMID' in field list is ambiguous
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.