On 1/31/07, Thomas Dudziak <[EMAIL PROTECTED]> wrote:

On 1/30/07, Jun Li <[EMAIL PROTECTED]> wrote:


Actually they are different: NUMERIC(18) means precision 18 and scale
0 and is mapped to Oracle's NUMBER(18) which is an integer data type.
For the JDBC type REAL, DdlUtils uses the Oracle datatype REAL instead
of NUMBER, which internally is mapped by Oracle to NUMBER with a
precision of 18 and some scale value that is not stated in the docs.

Tom


The more appropriate question is if I define a column with type="NUMERIC"
size="18" in the schema xml, and the data type of the same column in Oracle
DB is NUMBER(18), will DdlUtils consider them as equal?

--------------
Cheers,
Jun

Reply via email to