I have the same problem using the sql jstl.
When I connect to a DB I got an exception in the DoEndTag method.
I just used this tag:
sql:driver var=myDataSource
driver=sun.jdbc.odbc.JdbcOdbcDriver
url=jdbc:odbc:guestbook
/
sql:query var=pro dataSource=${myDataSource} sql=select * from
Thanks for the report.
This is actually a minor bug in the return value of the RI's sql:query
(and sql:update) tag. I've notated the problem in our bug-tracking
system; it'll get fixed soon after JavaOne (or possibly before, if other
RI team members have a more fluid environment than do I,
I'm trying to get the following code to work, but I keep getting a
java.lang.AbstractMethodError exception. I've tested the connection in the scriptlet
and it works. As soon as I add the sql tag the Exception is thrown. I've also
included the stack trace.
%@ page
Interesting. The AbstractMethodError is apparently coming from a call to
the ResultSetMetaData object associated with your JDBC driver. The
underlying issue may result from either a bug or a version incompatibility
in the driver. But this issue raises a question of how JSTL should handle