Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting Oracle 8.1.5 JDBC to work in WSAD

 
Tim Berett
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting extremely frustrated with getting the oracle jdbc to work in websphere application developer. In the test environ, the error stack is java.lang.ClassCastException:java.lang,String at oracle.jdbc.driver.OraclePreparedStatement.setObject
Does anyone knows how to configure the test environment as in the resource, data sources,etc? Thanks in advance....
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
post the relevant code. This problem is not an environment or jdbc problem, just a regular java problem.
 
Tim Berett
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may be right Jamie. In fact, the java code was generated using the wsad database wizard which uses the controller, details and masterview beans. It imports the com.ibm.db.beans.* libraries and I don't see any standard jdbc call to oracle. But that wizard is supposed to be idiotproof for other databases, rite? Anyone has experience with the self generated wizard to work with Oracle or is the generated code wrong in the first place?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic