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 .
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.