You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by airwing <ai...@vip.sina.com> on 2003/06/20 10:39:35 UTC

How to map oracle field number(10,5)

How to map number(10,5) field in repository.xml and java file?




Re: How to map oracle field number(10,5)

Posted by Christophe Marcourt <cm...@wanadoo.fr>.
hi,

it should work with DOUBLE JDBC type and so native double in java.
So you will have :

<field-descriptor column="ID" jdbc-type="DOUBLE" name="id" length="10"
precision="5"/>

the length and precision attributes are not required.

Christophe

----- Original Message ----- 
From: "airwing" <ai...@vip.sina.com>
To: <oj...@db.apache.org>
Sent: Friday, June 20, 2003 10:39 AM
Subject: How to map oracle field number(10,5)


> How to map number(10,5) field in repository.xml and java file?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>


---
Ce message Envoi est certifié sans virus connu.
Protégé par l'antivirus AVG Deluxe.
Version: 6.0.488 / Base de données virus: 287 - Date: 05/06/2003