delete() without find()

Noel Grandin <[email protected]> Wed, 30 Jun 2010 10:35:27 +0200
Newsgroups gmane.comp.java.orm.simpleorm
Message-ID <[email protected]>
 Hi

I want to delete a record by primary key. But there doesn't seem to be any way of doing this without triggering a load().

It seems like there should be a method on Session like

   void delete(SRecordMeta<RI> rmeta, Object... keys)

??

Regards, Noel

Disclaimer: http://www.peralex.com/disclaimer.html