• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using OraclePreparedStatement with IBM WAS  RSS feed

 
Russ Ray
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to speed up the processing by using an OraclePreparedStatment and setting defineColumnType; thereby reducing the number of trips the SQL is sent to the database.

Here is the code:



However, at runtime I am getting a class cast exception for the following reason:


Could someone please explain this to me?
 
Russ Ray
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can close this topic.........
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!