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

Oracle JDBC insert table using WebSphere 5.0

 
grace chow
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear ,
When I use websphere to insert a row into Oralce Table
with the following code, it always have the exception like this:
EXCEPTION: com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement
java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.
Do you guys know what causes this problem!! Many thanks



[edited to add code tags]
[ April 30, 2005: Message edited by: Jeanne Boyarsky ]
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
on the first place does it insert with standard JDBC ? i mean to ask if it inserts if you don't type cast your prepared statement to Oracle prepared statement.

Shailesh
[ April 30, 2005: Message edited by: Shailesh Chandra ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic