RE:SfieldReference
abel birya <[email protected]> Mon, 10 May 2010 12:29:38 +0700
| Newsgroups | gmane.comp.java.orm.simpleorm |
|---|---|
| Message-ID | <[email protected]> |
Hello to you all, I was wondering what the best way to use the SFieldReference to work with an m:m relationship. I have currently been using the public "SFieldReference(SRecordMeta<?> meta, SRecordMeta<RI> referencedRecord, String fieldName, SFieldScalar... foreignKeys)" constructor and explicitly getting the related record with queryReferenceing() and findReference() methods from the main record to the many to many record and finally the referenced record. Any assistance will be appreciated. Kind regards, Abel