I am working with an entity manager (entity bean). so, i wasn't accessing the database through a Connection. will the above solution still work? is there a better solution with the entity manager?
thanks!!
User Profile
Collapse
-
SQL Strings
Hi,
i have a java program dynamically creating SQL queries based off user input. i want to handle the case where the user enters reserved SQL characters- *, ', ", etc. I figure this is an issue that many people have run into. Does anyone have code that escapes these characters, or at least detects the presence of all reserved characters?
thanks!!
No activity results to display
Show More
Leave a comment: