Hi Team,
We have a requirement to store a nested EO-based ViewObject (VO) as a BLOB in the database and later read and convert it back into a VO.
For this, we’ve utilized the OAViewRowImpl.writeXML()
and readXML()
APIs.
While we were able to successfully store the VO as a BLOB in the database, we’re encountering an issue when converting it back to a VO. The process fails with a "TooManyObjectsFound for a given key" error, even though the XML contains only a single row.
We’ve manually reviewed the XML by printing it in the log before the conversion to VO, and the data appears to be correct. Additionally, when tested using JUnit, all EO validations—such as mandatory attribute validations—are failing.
Could you please advise on how to resolve this issue? Your assistance would be greatly appreciated.
Best regards,
Ranjith