This one time, at band camp, Jeff Lowery said:

JL>My understanding from the examples is that when class Project is persisted
JL>through JDO.create(),  both the project and dimension SQL tables will have
JL>rows inserted, with project's id_pagedim value matching the generated id
JL>value in the dimension table .
JL>
JL>The problem is that the dimension table does not get a row  inserted when
JL>Project is stored, and neither does the inserted project table row have an
JL>id_pageDim value. I get no errors from the JDO logger, so what is it I'm
JL>doing wrong?

Jeff,

You must maintain bi-directional relations between the objects -
Project must reference PageDimension and vice versa. I'm guessing
tha your objects don't have this. See the examples in src/examples/myapp
and src/examples/jdo.

Bruce
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to