Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
hibernate - No row with the given identifier exists exception
Hy,
I have a web service, that saves and gets data from a database. I worked with service.xml. Every time when save methods called the WS delete all relevant data from the database and insert the new one to it. After second save method calls the next get method throws the following exception:
Caused by: com.liferay.portal.kernel.dao.orm.ObjectNotFoundException: org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
Environment: jBoss-4.2.3; Liferay Portal Enterprise Edition 5.2 EE SP4 (Augustine / Build 5208 / May 20, 2009);
Maybe the cache process caused this exception, but I don't know exactly why? Has anyone encountered this error?
I have a web service, that saves and gets data from a database. I worked with service.xml. Every time when save methods called the WS delete all relevant data from the database and insert the new one to it. After second save method calls the next get method throws the following exception:
Caused by: com.liferay.portal.kernel.dao.orm.ObjectNotFoundException: org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
Environment: jBoss-4.2.3; Liferay Portal Enterprise Edition 5.2 EE SP4 (Augustine / Build 5208 / May 20, 2009);
Maybe the cache process caused this exception, but I don't know exactly why? Has anyone encountered this error?
Yes, I am encountering this error with Liferay 6.1.1 CE-GA2 when deleting then adding a user (ie, Constants.CMD = RESET):
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.liferay.portal.model.impl.UserImpl#10464]
Does anyone know what to do about it?
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.liferay.portal.model.impl.UserImpl#10464]
Does anyone know what to do about it?
Community
Company
Feedback