This content has been marked as final.
Show 2 replies
-
1. Re: getColumnTypeName returns null
vickyk Dec 28, 2006 11:29 PM (in response to rahulupadhye)No you don't need to do some additional configuration .
Can you try executing the same code using the thin driver through the stand-alone java application ? Let me know if that works or not . -
2. Re: getColumnTypeName returns null
rahulupadhye Dec 29, 2006 12:53 AM (in response to rahulupadhye)I am using the Oracle Thin driver (Oracel 9i client) for configuring the datasource.
The getColumnType() method of the ResultSetMetadat object returns the JDBC type.
But the getColumnTypeName() method returns null. This method is being used by the application i am configuring, so the application fails.
The driver is definitely returning this info. I have tried this by writing a simple JDBC java client. But when i use the JBoss Datasource, this returns null.