Originally posted by Tejas Tambe: Hi guyz... Can any 1 tell me how to find out the query string generated by prepared statement, before execution. with thanx in adavance... Tejas
No fast way to do this. You've got to just use System.out.println on the query String used to prepare the PreparedStatement, and then printout all the values you set. Manually you can replace the question marks with the actual values ( adding single quotes where necessary ). Jamie
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: URGENT !!! how do i find query string in prepared stmt ???