-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Nope, doesn't work, just inserts data in user_login table and nothing else.
R
Robert J Celestino wrote:
| Hello Robert, | | Would it work to simply let userLoginBean reference User in the repository_user.xml? Then you would simply store the bean, and ojb would do the rest. Example: | | <class-descriptor | class="...UserLoginBean" | table="userbeantable" | > | <field-descriptor | name="id" | column="Id" | jdbc-type="INTEGER" | primarykey="true" | autoincrement="true" | /> | <field-descriptor | name="userId" | column="UserId" | jdbc-type="INTEGER" | /> | | <reference-descriptor | name="user" | class-ref="...User" | > | <foreignkey field-ref="userId"/> | </reference-descriptor> | | </class-descriptor> | <class-descriptor | class="...User" | table="usertable" | > | <field-descriptor | name="id" | column="Id" | jdbc-type="INTEGER" | primarykey="true" | autoincrement="true" | /> | | </class-descriptor> | | ---------------------------------------------------------------- | Bob Celestino | SAS Research and Development | 919 - 531 - 9425 | [EMAIL PROTECTED] | | SAS - The Power to Know | | | > -----Original Message----- | > From: Robert S. Sfeir [mailto:[EMAIL PROTECTED] | > Sent: Friday, November 14, 2003 7:34 PM | > To: OJB Users List | > Subject: OJB NPE On Double Table Insert | > | > | > | > | > ------------------------------------------------------------ | > --------- | > To unsubscribe, e-mail: [EMAIL PROTECTED] | > For additional commands, e-mail: [EMAIL PROTECTED] | > | > | | --------------------------------------------------------------------- | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail: [EMAIL PROTECTED] | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/tXsE+cV9vuB27SARArfXAJ95yqosnYE7OJatAQOH1tneDkU6dwCfQNM0 c5xfmU5/R6FqhT4q/Ov3iVc= =rWVh -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
