Hello,
Trying to figure out how to integrate
Statement.setEscapeProcessing(true)
into a JSP it came upon me that to make the JSP RDBMS independant this
code should be in the driver. So I downloaded the source and came up
with
public boolean execute(String sql) throws SQLException
{
if (escapeProcessing)
sql = escapeSQL(sql);
in statement. I'm using preparedStatement which if one reads Suns doc
correctly escape characters "automagically".
Can I just use escapeSQL in my query???
Cheers
Tony Grant
--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html