I use BIGINT for my primary keys and Long for class fields and
everything goes ok.


Ricardo.


-----Original Message-----
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED] 
Sent: viernes, 08 de agosto de 2003 18:29
To: 'OJB Users List'
Subject: RE : BIGINT to Long, FieldConversion ?


More information : it faills on the FK key (not null column), null is put in
the "assignReferenceFKs" method from PersistenceBrokerImpl...

-----Message d'origine-----
De�: Emmanuel Dupont [mailto:[EMAIL PROTECTED] 
Envoy�: vendredi 8 ao�t 2003 17:35
��: OJB Users List
Objet�: BIGINT to Long, FieldConversion ?

All,

 

 

I would like to have a Long type in my jdo Object. But the jdbc mapping
tells that for a BIGINT it is a long (small).

 

So Could I use the Field conversion class ?

 

I try to use it with the "Int2IntegerFieldConversion" sample and I created a
"long2LongFieldConversion".

 

But it doesn't work !

 

Any help would be really appreciated !

 



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