W dniu 2010-07-15 10:57, Andrew Denton pisze:
> Hi Jaromir,
>
> Rather than embed OIDs in the database, I use the Relationship Manager
> pattern - it's much more flexible and makes your code easier to maintain.
> There's an example in the Quarantine directory. All that Owner.Owner.OID
> stuff is just wrong, IMHO.

Thanks,

I looked into Relationship Manager source. With this manager only 
solution to connect records is below table ?

CREATE TABLE RELATIONSHIPS (
   OID VARCHAR(36) NOT NULL,
   FROM_OID VARCHAR(36),
   TO_OID VARCHAR(36),
   REL_TYPE INTEGER);

With Relationship Manager I have to forget about foreign keys in tables ?

-- 
Regards Jaromir


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
tiOPF-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tiopf-talk

Reply via email to