Java 1.6, Oracle 10.2g (express edition), ojdbc14.jar. The following code won't compile:
(The method getPoolConnection() returns a connection from the pool; I don't think its code is relevant to the question at hand.)
The compiler error message says:
Clearly the compiler can find the CLOB class, or it would give me more error messages, but for some reason it can't find DURATION_SESSION. Any ideas why?