That's interesting. I thought most DBMS's supported prepared statements.
Assuming that they do, the JDBC driver should just provide a thin wrapper
for them. I don't know how else you would support methods like
setBinaryStream() (maybe I should look at Mark's source :-).
Thanks for pointing that out!
Aaron
>
> Just for one example, check out the source code for Mark
> Matthews's *excellent*
> JDBC driver for MySQL. In the PreparedStatement.setString()
> class, he very
> carefully scans for delimiters that will cause problems, and
> escapes them the
> way that MySQL wants them.
>
> I (obviously) don't have the source, but my experience is
> that Oracle's JDBC
> driver does this as well.
>
>
> >
> > Aaron
> >
>
> Craig
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html