hacktorious wrote:
This is a weird issue because it happens with any setter method in the class. I am just using strings, which map as varchar in the oracle database.
I am wondering if the issue has to do with the fact I am using a composite key on a different class as a foreign key in the class I am trying to update.
I verified all the types and they are correct.
I am calling the following method:
subjectVO = subjectDAO.getSubjectByCaseNumber(caseNumberVO);
this don't throw an error.
The error is thrown when I call the following on the subjectVO:
subjectVO.setSubjectCityNm("some new string");
For some reason it only happens when I do a query to select a record with the specified primary key.