Re: R: persistent data storage - the right way

2004-02-16 Thread Paul-J Woodward
;Struts Users Mailing List" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject: R: persistent data storage - the right way I think that with hibernate you don't need to write sql code to save/update/delete your objects or to r

R: persistent data storage - the right way

2004-02-16 Thread Leonardo Francalanci
I think that with hibernate you don't need to write sql code to save/update/delete your objects or to retrieve objects by their id, with ibatis you have to write all your sql code. Example with hibernate (pseudo-code...): session.find(MyObject, id); MyObject.setProp1(newvalue) session.save() // a