Thanks Lucas for the response
However i needed to force BigDecimal (i.e NUMERIC) upon a column called
DAY_KEY which is a part of table say IP_AGGR.
As its a NUMBER(8) in oracle its always becoming Integer even with the
above suggested forcedType as used below. Please help.
<forcedTypes>
<forcedType>
<name>NUMERIC</name>
<expressions>.*\.DAY_KEY.*</expressions>
</forcedType>
</forcedTypes>
</database>
<generate>
<records>false</records>
</generate>
On Friday, May 24, 2013 8:45:43 PM UTC+5:30, venkatesha murthy wrote:
>
> Hi
>
> Please help me on how i can a force a perticular data type in java code
> generated for a column
>
> For ex: if the db is oracle 11g and column is COL_X NUMBER(8);
> if i need to interpret this as BigDecimal always. {We my change the
> precision to 20 or something later nd so i dont want to keep changin the
> calling code etc}
>
> thanks
> Murthy
>
>
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.