No response for my query since yesterday.
I've changed the code in Connection.escapeSQL() to look for semicolons
outside '' and ""'s.
It's not been well tested, but it seems to work. Someone might want to add
it to the source tree, or to their own local versions if they wish.
--Arsalan