Guys,

  I met a problem when trying to use oracle 10g DB.
It's not really a keel problem, but I'd like to hear
some suggestions about the work around.

  The problem is, after I change the ant.properties
file to point to my oracle DB, following exception is
thrown at runtime:

<snip>
Caused by: java.lang.IllegalArgumentException: Unknown
java.sql.Types type -104
at
org.keel.services.persist.base.JDBCDatabaseType.typeToString(JDBCData
baseType.java:1080)
at
org.keel.services.persist.base.OracleDatabaseType.setDataSource(Oracl
eDatabaseType.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
<snip>

The reason is that the oracle jdbc driver returns some
JDBC types that is not defined in java.sql.Types,
which are -101, -102, -103 and -104. These numbers
can't be understood by typeToString(), so keel throws
an exception for any unknown jdbc types...

I totally have no idea what the types mean.
To amend this, I comment out the line that throws
exception in JDBCDatabaseType.typeToString(line 1080),
just log the problem instead. The application seems to
work fine by just ignoring these unknown types.

I am wondering how we can get a work around on this
issue. Is it really harmless to ignore the unknown
types? Any comments are welcome!

FYI, my oracle version is: 10g DB NT 10.1.0.2.0

Regards

Ying

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
http://keelframework.org/documentation
Keelgroup mailing list
[EMAIL PROTECTED]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com

Reply via email to