File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes How to use escape sequence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to use escape sequence" Watch "How to use escape sequence" New topic

How to use escape sequence

John King
Ranch Hand

Joined: Aug 27, 2002
Posts: 165
Could anyone post an example on
escape sequence in JDBC? Why should we
use it? Thanks.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Are you curious about escaping certain characters?
The easiest thing is to not worry about it. Take a look at using a PreparedStatement.
I'd suggest taking a look at the PreparedStatement documentation and trying a quick search on this forum. (The search page link is at the top right of this page.)
[ April 04, 2003: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Consider Paul's rocket mass heater.
subject: How to use escape sequence
Similar Threads
What escape sequence is this ?????
Strange output
" within String
Problems with replaceAll()
invalid char gets displayed