Hi

I would like to use the reverse-tool to genereate the repository.xml and the
java code. 

But the reverse-tool takes always DECIMAL (JDBC-Type) and Long (Java-Type)
for any Number column in Oracle. 
How can I override this so that a NUMBER(4) Column is mapped from BIGINT
(JDBC-Type) to Long (Java) and a Column with NUMBER(6,2) is mapped from
DOUBLE (JDBC-Type) to Double (Java)?

Does I need to do this manually or can I declare the mapping in the
OJB.properties or does I need to customize a class of OJB and if yes which
one or how?

With the default behavior I get ClasCastExceptions when I try to get any row
from the database.

Roland Ribi



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to