Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

oracle.jdbc.xa.OracleXid

 
Tim Bowman
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,

I was trying to import the oracle.jdbc.xa.Oracle Xid in my code, but it gives the error, The oracle type cannot be resolved. Do I need to add any jars? Any suggestions.

Thanks
Tim.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to add the jar that contains that class to your classpath. Its part of the driver, so add that.
[ May 19, 2006: Message edited by: Paul Sturrock ]
 
stephanie coy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul,

I was getting a similar problem before. Regarding the jar file to be added in the classpath, could you tell me what is that jar and where could I find it.

Thanks
Stephanie
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The jar file is the Oracle JDBC driver. Its called ojdbc14.jar and comes with Oracle when you install it. You can also probably download it from Oracle's website.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic