Passing Parametergreenspun.com : LUSENET : Java Programming : One Thread
Hi folks, I am having a slight problem with passing parameters, here's the out line.
I' programming a JDBC driver at the moment and donig a lot of testing at the moment.
/here display is a method just to display the contents of a table and getTables is a stored procedure
However after doing this the next Select query I do always fails. Now : however if i do this and actually initailase an object then pass it as the parameter
ResultSet rs = new ResultSet(); rs = dbMeta.getTables("","","",null)); display("Tables", rs)
then the next select query works fine.
So my question is what is the difference between doing this the two different ways.
-- Iain Donald (email@example.com), December 18, 2000
Dont be a fool, nobody can answer for this simple problem, bring complicated application.
-- iain.donald (firstname.lastname@example.org), January 31, 2001.
with that attitude noone's gonna give you an answer. Stick your attitude up your ass
-- wadsa (email@example.com), August 07, 2001.