[odb-users] object already persistent

Bright Dadson losintikfos at yahoo.co.uk
Mon Feb 21 12:16:52 EST 2011


I have created a record in my person table using the ODB persist example which 
works fine.
I have then amended the code to change the name of the person which i expect to 
be a new record.

but when i execute the application i get object already persistent printed. I 
added this #pragma db id auto to my persistent class
generation therefore expect records to be inserted without any issue and hence 
new id automatically issued by MySQL.

Do anyone know why message?


      


More information about the odb-users mailing list