db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Bruckner" <...@florianbruckner.com>
Subject AW: reverse db tools status
Date Thu, 23 Jan 2003 17:31:20 GMT
Hi Jamie,

> I have had a number of problems matching Oracle types to JDBC
> types and Java
> types. I think the static Utilities class should be replaced with
> an adapter

You get a mapping from the native database type to the sql type using
DatabaseMetaData.getColumns(), mapping java sql types to java types should
be generic with all databases. Usually you can find a java type for most
java sql types, only BLOB and CLOB handling can be problematic, and this has
to be solved in the code reading from the database anyway.


View raw message