This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes Inserting a 'weird' sentence into database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "Inserting a Watch "Inserting a New topic
Author

Inserting a 'weird' sentence into database

Arthur Buliva
Ranch Hand

Joined: Mar 08, 2006
Posts: 101
Hello friends,

Consider this code snippet of mine:


Also consider this stack trace:



All I want to do is to insert the sentence as it is into my database. Any help?
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

try this code.



Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Arthur Buliva
Ranch Hand

Joined: Mar 08, 2006
Posts: 101
Thank you very much for that. Works well
 
jQuery in Action, 2nd edition
 
subject: Inserting a 'weird' sentence into database