db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Göschl,Siegfried" <Siegfried.Goes...@drei.com>
Subject Torque 3.1 JDBC Task creates DECIMAL instead of INTEGER for Oracle9i
Date Wed, 17 Dec 2003 08:39:55 GMT
Hi folks,

I have the following setup

+) Oracle 9i
+) Oracle Thin JDBC Driver
+) Torque 3.1

The ORACLE database contains the following column (JDBC Metadata taken from Squirrel SQL Client)

COLUMN_NAME = SORTSEQUENCE 
TYPE_NAME = NUMBER
COLUMN_SIZE = 5
DECIMAL_DIGITS = 0

The Torque JDBC task creates

<column name="SORTSEQUENCE" required="true" size="5" type="DECIMAL"/>

The Torque OM task creates

private BigDecimal sortsequence;

But what I would  like to get is an INTEGER and java.lang.Integer in the generated code. Is
there anything I do wrong?!

Thanks in advance,

Siegfried Goeschl

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message