grails - GORM Stale object exception -


while inserting record domain object getting error:

row updated or deleted transaction (or unsaved-value mapping incorrect)  stacktrace follows: org.hibernate.staleobjectstateexception: row updated or deleted transaction (or unsaved-value mapping incorrect) 

we have simple domain :

user{     string uid     string firstname     string lastname } 

while doing :

def user=new user(uid:"testuser", firstname:"test", lastname:"user") 

we getting above error.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -