This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Oracle JDBC insert table using WebSphere 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle JDBC insert table using WebSphere 5.0" Watch "Oracle JDBC insert table using WebSphere 5.0" New topic
Author

Oracle JDBC insert table using WebSphere 5.0

grace chow
Greenhorn

Joined: Oct 25, 2004
Posts: 13
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

Joined: Aug 13, 2004
Posts: 1081

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 ]

Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
 
jQuery in Action, 2nd edition
 
subject: Oracle JDBC insert table using WebSphere 5.0
 
Similar Threads
Insert CLOB using JDBC
How to store & retrieve a video file from database?
how to create BLOB and CLOB data
Inserting Large XML file into Oracle Database through java,Please help
servlet not working