RE: Key in object not propulated from Foreign key listed in reference-descriptor

2006-08-15 Thread Wright, Jim \(NIH/CIT\) [C]
and could not get it to work. Jim Wright -Original Message- From: Thomas Dudziak [mailto:[EMAIL PROTECTED] Sent: Monday, August 14, 2006 11:43 PM To: OJB Users List Subject: Re: Key in object not propulated from Foreign key listed in reference-descriptor On 8/11/06, Wright, Jim (N

Insertion order and ojb

2006-08-14 Thread Wright, Jim \(NIH/CIT\) [C]
Is there any way to track the order of which an object is being inserted by the store method in OBJ? I tried doing this but only the name of parent object printed out and the two child objects' names did not. I used System.out.println to print out the name of object as it was being inserted.

RE: Key in object not propulated from Foreign key listed in reference-descriptor

2006-08-11 Thread Wright, Jim \(NIH/CIT\) [C]
-Original Message- From: Thomas Dudziak [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 12:16 PM To: OJB Users List Subject: Re: Key in object not propulated from Foreign key listed in reference-descriptor On 8/11/06, Wright, Jim (NIH/CIT) [C] <[EMAIL PROTECTED]> wrote:

Key in object not propulated from Foreign key listed in reference-descriptor

2006-08-11 Thread Wright, Jim \(NIH/CIT\) [C]
I have a field in a class called IOS that is not getting populated from the foreign key definition in the scientist reference-descriptor shown in IOS class-descriptor. Here is the class descriptor containing the field scid that is not getting populated on insertion:

RE: Methods of calling stored procedures in OJB

2006-08-09 Thread Wright, Jim \(NIH/CIT\) [C]
ocedure in the repository file included the attri bute 'return="true"' attribute on any arguments that were returned to OJB. I hope this helps you out. Let me know if I can clarify things any further. Ron Gallagher > > From: "Wright, Jim \(NIH/CIT\) [C]" &l

Methods of calling stored procedures in OJB

2006-08-08 Thread Wright, Jim \(NIH/CIT\) [C]
Does one have to use database triggers in order to run stored procedures in OJB? The Apache documentation seems to imply that: http://db.apache.org/ojb/docu/howtos/howto-work-with-stored-procedures.h tml#A+simple+example I need a way to run them that does not involve triggers. Jim Wright

Calling a stored procedure through OJB

2006-08-08 Thread Wright, Jim \(NIH/CIT\) [C]
Though the OJB documentation is pretty good it does not show a direct example of how you call a stored procedure in OJB Java code. Could someone show me? Thanks very much, Jim Wright [Contractor - SRA International] Web Developer Web Development Team Custom Applications Branch (CAB) Divis

Unique keys and OJB having trouble

2006-07-25 Thread Wright, Jim \(NIH/CIT\) [C]
I'm trying to update a row in a table which has a primary key, 4 unique keys (unique constraint) and a few more data fields. I have naturally one primary key specified for the table in my repository_user.xml file. When I store the row, I get a Unique restraint violation for the unique constraint on