In my application I am using some Oracle JDBC specific features to utilize its new features. For most of these I need oracle.jdbc.OracleConnection instead of java.sql.Connection. But in the container when I get a connection from a DataSource or ConnectionPool, I get Connection not and cant even type cast to OracleConnection. I think its Java spec. Is there any magic configuration I can use for JBOSS, to specify a DataSource to use OracleConnection explicitly. Are there any other alternatives pl advice me. FYI, this application is NOT heavy transactional oriented.