Basic question is - how does on persist a collection to a postrgest table using jdo?

Normally collection is just a 1:n connection to another table, like

create table parent (id integer);
create table child (id integer, parent integer);

so you map parent to have collection Childs and then that Childs collection you map to be of that child table.

- Joose

--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to