Sorry, the order of my primary keys in the repository have changed...

-----Message d'origine-----
De : Guillaume Nodet [mailto:[EMAIL PROTECTED]
Envoye : jeudi 5 fevrier 2004 15:09
A : OJB Users List
Objet : Identity with double column primary key


I'm using double column primary keys.
When i retrieve an object with the getObjectByIdentity, 
i construct a new Identity object giving the two values
for my columns. The problem is that i ran some tests on
another computer, and the sql statements was badly built.
Ojb had inverted the values assignements to the columns.
So my question is: how can i know the order of the 
primary key columns when building an Identity ?

Regards,

Guillaume


---------------------------------------------------------------------
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]

Reply via email to