File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PreparedSatement print values ?

 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to print PreparedSatement print values after setting respective values ?
 
Sagar Rohankar
Ranch Hand
Posts: 2904
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ParameterMetaData#getParameterMetaData()
Didn't use, so don't know whether its works before execute or after , But this will help !!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33691
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does that give the values or just the types?

I know you can use a DebuggableStatement wrapper to capture the values if not.
 
Sagar Rohankar
Ranch Hand
Posts: 2904
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Does that give the values or just the types?

I know you can use a DebuggableStatement wrapper to capture the values if not.

I'm wondering from a long time, is there something like this in Java ? But its there ..
A little search, and its redirect to the same forum..

http://www.coderanch.com/t/298241/JDBC/java/My-new-favourite-thing-DebuggableStatement

 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic