You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Bert Van Kets <be...@vankets.com> on 2004/02/14 15:45:37 UTC

JDO sample with query

I have been going through the JDO samples and as far as I can see there's a
direct mapping from JDO to the tables in a mySQL database. How can I map the
fields to a query?
Can anybody elaborate this a little bit please.

Thanks,
Bert



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: JDO sample with query

Posted by Antonio Gallardo <ag...@agssa.net>.
Bert Van Kets dijo:
> I have been going through the JDO samples and as far as I can see there's
> a
> direct mapping from JDO to the tables in a mySQL database. How can I map
> the
> fields to a query?
> Can anybody elaborate this a little bit please.

In short, using Java Beans.

See the JDO tutorial in OJB:

http://db.apache.org/ojb/tutorial4.html

Best Regards,

Antonio Gallardo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org