db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Li" <allanju...@gmail.com>
Subject Re: Be more tolerance about model comparison.
Date Wed, 31 Jan 2007 08:35:37 GMT
On 1/31/07, Thomas Dudziak <tomdzk@gmail.com> wrote:
>
> On 1/30/07, Jun Li <allanjunli@gmail.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message