db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chong Yoke Ping <chon...@gmail.com>
Subject Re: Size attribute of DECIMAL data type
Date Tue, 24 May 2005 09:21:19 GMT
Hello Daniel,

    For NUMBER(5,2) in Oracle,
       you can use "type=DECIMAL" and "size=5,2".

    To see the mapping of torque data type to the respective DB column, 
you should look at the sql templates in the generator.


Vitzethum, Daniel wrote:

>Hallo all,
>just a short question as I didn't find anything in the docs:
>- Column is defined as NUMBER(5,2) in Oracle.
>- What Torque data type is the best? DECIMAL (using Java's BigDecimal),
>- What value should the size-Attribute in the schema-file be?
>Thanks in advance,
>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>For additional commands, e-mail: torque-user-help@db.apache.org

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

View raw message