[storm] Inserting a new object or updating an existing object
L.Guruprasad
lgp171188 at gmail.com
Tue Mar 2 08:08:11 GMT 2010
Hi all,
I am new to using ORM and hence Storm as well. Here is my question.
I have an object of a class A, named a1.
I want to insert a1 into the database if there isn't already another
record with the primary key value of a1.
If there is a record already there, I want to update the record. How to
go about doing this?
Regards,
Guruprasad
More information about the storm
mailing list