Hi All,

 I would like to know how we can get Oracle sequence using JDO. I worte
following , it doesn't help.

 'CALL SELECT SEQ_NAME.NEXTVAL FROM DUAL'

 I would appreciate your help.

Best regards,
Dharmesh

-----Original Message-----
From: Guy Di Fulvio [mailto:gdifulvio@;opencs.net]
Sent: Wednesday, November 13, 2002 12:21 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Bi-directional relationships


Thanks Bruce, just too bad! I'll find another way.

But what I don't get is that I am using KeyGenerator (key-generator MAX)
and this seems to work fine? Even with the fix!

-----Message d'origine-----
De�: Bruce Snyder [mailto:ferret@;frii.com]
Envoy�: mercredi 13 novembre 2002 03:02
��: [EMAIL PROTECTED]
Objet�: Re: [castor-dev] Bi-directional relationships

This one time, at band camp, Guy Di Fulvio said:

GDF>I changed the following code in persist.ClassMolder and my test
cases
GDF>work again "even without bi-directional relationship". But I did not
try
GDF>castor test cases. Do you know if this change might be causing any
GDF>problem somewhere else? Anyway I am keeping this change until I find
a
GDF>new problem.
GDF>
GDF>public Object getIdentity( TransactionContext tx, Object o ) {
GDF>  return getActualIdentity( tx, o );
GDF>}

Guy,

Unfortunately, this will not work when using a KeyGenerator. It will
cause anything using a KeyGenerator to fail.

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

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

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

Reply via email to