Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DURATION_SESSION

 
Bob Grossman
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you using ojdbc14.jar with JDK 1.6? try upgrading your driver.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic