I have a jdbc question,
I have a stored procedure that I'm calling that requires as a parameter an array. Is this the correct syntax?
int[] myArray = new int[2];
myArray[0] = 0;
myArray[1] = 1;
String command = "select getquote('"+myArray+"')";
Statement stmt =con.createStatement();
ResultSet rs = stmt.executeQuery(command);
thanks " ahhh computers, how they made our lives much simpler
"
I have a stored procedure that I'm calling that requires as a parameter an array. Is this the correct syntax?
int[] myArray = new int[2];
myArray[0] = 0;
myArray[1] = 1;
String command = "select getquote('"+myArray+"')";
Statement stmt =con.createStatement();
ResultSet rs = stmt.executeQuery(command);
thanks " ahhh computers, how they made our lives much simpler