ChallengedProgrammer
Programmer
Hi,
First of all, is it possible to execute a query in Microsoft Access using the jdbc-odbc driver?
I have tried using a CallableStatement to try to access my query.
CODE EXCERPT:
********************************************************
Connection conn = DriverManager.getConnection("jdbc
dbc:" + sDatabaseName, sUserName, sPassword);
CallableStatement sc = conn.prepareCall("{call QUERY_NAME}"
;
rset = cs.executeQuery();
********************************************************
...where QUERY_NAME is the query that exists in my Access db. However I get an empty result set even though I know that my query returns 3 records.
What am I doing wrong?
Thanks,
ChallengedProgrammer
First of all, is it possible to execute a query in Microsoft Access using the jdbc-odbc driver?
I have tried using a CallableStatement to try to access my query.
CODE EXCERPT:
********************************************************
Connection conn = DriverManager.getConnection("jdbc
CallableStatement sc = conn.prepareCall("{call QUERY_NAME}"
rset = cs.executeQuery();
********************************************************
...where QUERY_NAME is the query that exists in my Access db. However I get an empty result set even though I know that my query returns 3 records.
What am I doing wrong?
Thanks,
ChallengedProgrammer