I was generating CMP entity beans for Oracle 9i DB, I have declared some fields with NUMBER(8) in Oracle, when WSAD 5.1 generate the CMP bottom-up it makes up the beans with member variable of type java.math.BigDecimal.

As my schema is really big, and most of the NUMBER fields are integer, I just want to configure WSAD when he finds field with type "NUMBER" just make the default to be int in Java.