Insert into DB using SQLservice: can't take the text with single quotes:

I use Execute sql JDBC service statement.

I'll explain with simple code:

insert into mytable (id, desc) values (1, 'this is the document of the customer');

This works perfectly.

But if I have apostrophes in the desc-

insert into mytable (id, desc) values (1, 'this is the document the customer' );

It is throwing error at a standstill operation errors.

I know that in Oracle, to escape the single quotes that write us

insert into mytable (id, desc) values (1, "it is of customer" s document ");

But, we can not control here in Adobe as the desc is from field on a form when the user enters it.

I'm guessing that it might be a known issue & can someone tell me the solution.

Thank you

KC

Use a parameter query to avoid this problem.

insert into mytable (id, desc) values (?,?);

The two parameters (? brands) can be replaced by actual values using XPATH Expression.

If you do this, you query runs without raising any errors.

Nith

Tags: Adobe LiveCycle

Similar Questions

  • How can I view the text with format and < object >... < embed > video?

    Hi, OTN.
    I can't find a suitable component to show a ViewObject CLOB with video (streaming flash videoplayer) HTML format and < object > < embed > tags.
    With components output format or Rich Text Editor, I don't see the embedded objects or their HTML tags. Only simple HTML format.

    How to display an embedded object (video) on the JSF page with #{binding} on the ViewObject data control?

    Thank you.

    Try and af:outputText with the exhaust attribute set to false.

  • I hawe a licens for Adobe Photoshop Extended cs 5. Howe can I take the licens more too a nother computer

    I hawe a licens for Adobe Photoshop Extended cs 5. Howe can I take the licens more too a nother computer

    Just download, install and activate it with your serial number.  Your license allows you to have two machines with active facilities, so if you have only one currently, then you should be able to go forward with the second without having to disable another.

    CS5 - http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • I'm going through the first tutorial, and I can't take the transformation point on the leg of the Apple Board skateboard.

    I'm going through the first tutorial, and I can't take the transformation point on the leg of the Apple Board skateboard.

    Hello. The transformation point is visible and you are unable to drag and drop or if it shows any? Make sure that you have selected so eager to set the point to transform the free transform tool.

  • How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    Hi all

    How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    There is also a checkbox on the dialog box 'Sign' to lock document after signing.

  • I can't get the 'text' that I use to add an effect, help please

    I can't get the 'text' to be able to add an effect, it will only add to the area of that text is the effect

    Police of system use, or al least a white to a system font. In this case, you can use effects because systemfonts are rendered as an image.

    Using the web or web fonts safe it is temporarily impossible to use effects on the text.

  • How can I make the text highlight using the i-beam in a browser using CS4?

    Whenever I have test a movie or view in browser html, the text is selectable/unlightable. How can I do so that I can highlight text and copy/past. You know the options when you right click after you select the text. Thanks to a bouquet. I use cs4.

    Select the text box, and in the property Panel, you can set the text to be "selectable" box

  • I am trying to take the video with my Canon EOS 60 d

    I am trying to take the video with my camera.  She saves about 3 seconds and then stops.  the error message is "video recording was stopped automatically."  I have to do something wrong.  Can someone help me?

    What card memory SD brand and 'class' are you using?  Probably the memory card is not fast enough to deal with HD video.   'Class 6' or more recommended.

    More extensive explanation here:
    http://www.tested.com/tech/photography/3317-how-to-buy-the-right-memory-card-for-your-camera-SD-card...

  • Acrobat Standard DC - can't change the text and text box properties

    Earlier this week, I lost the ability to change the properties of the text and text boxes.

    When I add a comment with a text box or in the text caption, I do all the time, I used to be able to change the font color, size, alignment, etc.

    Now, when I go to insert a text box or the legend, all the options in the properties bar are grayed out.

    This issue effects ONLY the text in the box and the caption functions. all the other drawing functions work very well. I can change the color, fill and the type of lines around the text, I can just change the text.

    Any suggestions?

    Thank you.

    Hello

    We have released an update today which solves the problem of the properties toolbar and now you can continue to use it outside of the app commenting as well. Please open Acrobat or Reader DC and visit help > check for updates to ensure that you are on the latest patch.

    Details on the release: https://helpx.adobe.com/acrobat/release-note/acrobat-dc-august-02-2016.html

    Please let us know how it goes.

    Thank you

    -ashu

  • How can I change the text in the Messages to the vertical?

    How can I change the text in the Messages to the vertical?

    If you mean change the orientation, simply turn the phone. If this does not work, close Messages and then run again.

    To close the Messages, press the Home button twice quickly. You will see small glimpses of your applications recently used. Drag to the left to find the application you want to close. Swipe up on the preview of the application to close.

    If it does not, the strength to restart the phone. No data is affected by this. To force the reboot your device, press and hold the two buttons of sleep/wake and home for at least ten seconds, until you see the Apple logo.

  • Pavilion dv4: Windows 7 does not start and I can't access the system with f11 recovery

    I use a Pavilion dv4. Windows just crashed on a blue screen with a message about physical memory dump. Now when I start the computer it will just a black screen with a blinking cursor to the place when windows normally should start. I can not access the system with the f11 key recovery. I went in with the f2 key diagnostic mode. Diagnostic tests except for the battery test that failed, but shouldn't the laptop to be able to run without a battery if it is connected? And besides, if the problem was the battery, the laptop wouldn't be able to turn on at all, no?

    I'm not about to spend all that money on a battery just to know that it is not the battery.

    Hello

    If you have the 64 bit rescue CD, you would have received an error if it was bad.

    Once you have all your data backup, try the following - which means that Windows has been installed on the C Partition.

    Boot from the new rescue CD, select repair your computer and choose the command line.  When this charge, enter the following commands and press on enter after everyone – including spaces as shown.

    Bootrec.exe

    bcdedit/export C:\BCD_Backup

    c:

    Boot CD

    BCD attrib s h - r

    Ren c:\boot\bcd BCD.old

    Bootrec /RebuildBcd

    Bootrec /fixmbr

    Bootrec /fixboot

    Remove the rescue CD and try to restart now.

    Kind regards

    DP - K

  • Can I change the text in 3D in Windows 7 to mine screensaver?

    Can I change the text in 3D Screensaver in Windows 7?

    Can I change the text in 3D Screensaver in Windows 7?

    Hi Patty,.

    Yes, you can certainly - here's how:

    1. right click on the desktop and choose "Customize".
    2. Select screen saver icon in the lower right of the box to 'change the visuals and sounds on your computer.
    3. Select '3D text' on the drop down and select "settings".
    4. from here you will have a series of options, one of them will be an option button under "Text" to choose or time "personalized text".
    5. change the "Custom" text in any text you want to display...

    (If this post was useful ("useful Vote") or response ("mark as answer") your question, please click on the corresponding button to help others find the answer more quickly.) Besides, if you feel that someone else has been useful, mark them too. Also, if you have any othercomments please let us know.)

    Hope this helps,

    Steve <> Microsoft Partner

  • I can't access the internet with any browser without proxyfire

    I can't access the internet with any browser, without proxyfire software & internet option checked to see if the proxy server is marked or not. I think I checked everything I know now I will be honerd if someone help me with this problem.

    Hello

    1. have you made changes on the computer before this problem?

    2. do you get any error code or error message?

    3. what version of Internet Explorer is installed on your computer?

    I would suggest trying the following methods and check if it helps.

    Method 1:

    Run the network troubleshooter, and check.

    Using the troubleshooter from network in Windows 7:

    http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7

    Method 2:

    Try the steps in the Microsoft article and check below if the problem persists.

    Why can't I connect to the Internet?

    http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-the-Internet

    Method 3:

    Try the following steps to turn off the Proxy connection and check if it works.

    Follow the steps to disable the proxy:

    a. open internet explorer.

    b. click on tools and then click Internet Options.

    c. click on the Connections tab, then click LAN settings.

    d. turn off the server to use a Proxy.

    e. click on apply then Ok to save the changes.

    Hope the information is useful.

  • How can I update the rubrics with WebServices?

    How can I update the rubrics with WebServices?

    /Anyone/ has some success with this?

    It becomes important to our business objectives in order to solve the problems within the control elements.

    I can't enter the number of line by line in order to uniquely identify it. How can I get that number, so I can send it with xml "update"?

    A little nudge in the right direction would be much appreciated.

    Aaron.

    You must use a field on the form as the one on the line items, NOT the line number that appears in the journal of the line item. If I understand correctly, the LineItemIdentifier can be any field on the form, even the short description. It is best if you know you will use web services to update the line items, you add a (potentially hidden) field to the form and fill that with unique values when positions are created. If you are working with existing elements of line, then you must choose a field that will be usually unique within a single record and hope, you don't have a lot of duplicates.

  • How can I change the text independently copied element?

    Hi, if I copy a text element, and then insert it, change the inserted, also changes the original text element. How can I change the text independently copied element? Thank you! The German Adobe Web site have no idea on the copy and paste text elements

    [title published by mod]

    It's because you copy the title, which creates a clone. Change and it changes the other.

    As I show in my book, Amazon, what you really want to do is title duplicate in right-clicked on it in the components panel of project and selecting two copies.

    A duplicate makes a copy of the title, but this copy is independent and any changes that will make her to this single copy.

Maybe you are looking for