Possible Duplicate:
Java - escape string to prevent SQL injection
Hi.
I constantly am running into silly little issues with submitting an sql query to my database when the sql query includes a user written string (including random characters like '$%&).
Is there a standard function anywhere that converts the user text into sql friendly text for Java?
Thx