See Using Prepared Statements (The Java™ Tutorials > JDBC(TM) Database Access > JDBC Basics)
Type: Posts; User: copeg
See Using Prepared Statements (The Java™ Tutorials > JDBC(TM) Database Access > JDBC Basics)
Please wrap all code using the proper code tags to preserve formatting, and please read Announcements - What's Wrong With My Code?
First, I'd recommend using a PreparedStatement - its cleaner...