Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using OraclePreparedStatement with IBM WAS  RSS feed

 
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.........
 
What does a metric clock look like? I bet it is nothing like this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!