Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Select Union + preparedStatement()

 
Isaias C. Barroso
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I've a problem with preparedStatement() + Select Union when i utilize TYPE_SCROLL_INSENITIVE and TYPE_SCROLL_SENITIVE.
If my PreparedStatement is pstmt = conn.prepareStatement(MyQueryWithUnion), its work, but if it is conn.prepareStatement(MyQueryWithUnion, ResultSet.TYPE_SCROLL_INSENITIVE, ResultSet.CONCUR_READ_ONLY) don't work.
I'm utilizing jdbc dbc + MSACCESS Driver.
Anybody have a solution?
Thanks
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!