"Diethelm Guallar, Gonzalo" wrote:
> The ideal would be:
>
> INT => Integer
> FLOAT => Float (or Double?)
> NUMBER(X) => if X less than a certain size, Integer, else, BigInteger
> NUMBER(X,Y) => if Y is zero, as above, else if x less than a certain size,
> Float (or Double?), else BigDecimal
>
> but I don't know what the breaking values are for deciding here.
> Maybe we could just say:
>
> INT => Integer
> FLOAT => Float (or Double?)
> NUMBER(X) => BigInteger
> NUMBER(X,Y) => if Y is zero, as above, else BigDecimal
>
> I'm also not sure what torqueType = "NUMERIC" means.
>
Be careful with this mapping. Oracle INTEGER and INT are NUMBER(38),
which won't fit in a java Integer.
Gabriel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]