I got this error:
[2008-5-30 18:31:43 CEST] <WorkerThread0> com.webobjects.eoaccess.EOGeneralAdaptorException: EvaluateExpression failed: <com.webobjects.jdbcadaptor.OpenBasePlugIn$OpenBaseExpression: "INSERT INTO INDBLocalizedString(it, de, id, en) VALUES (?, ?, ?, ?)" withBindings: 1:"write ITghgf"(it), 2:"write DE"(de), 3:128(id), 4:"write EN"(en)>: Next exception:SQL State:42000 -- error code: 0 -- msg: ERROR - Value for column 'id' is not unique. SQL: INSERT INTO INDBLocalizedString(it, de, id, en) VALUES ('write ITghgf', 'write DE', 128, 'write EN')
I checked and rechecked, the value for column ID is UNIQUE!!! also typing the SQL directly into database works!
Any suggestion?!! Thanks Amedeo |