error when inserting xml into database - string literal too long

Discussion in 'Java' started by nikkilou, Jun 24, 2006.

  1. nikkilou

    nikkilou Guest

    When executing my insert statement, I am receiving the error message
    'string literal too long'. The field is an xml datatype and I am
    inserting the xml as a string. Do I need to convert it to a clob? What
    else might I need to do? Please advise.

    Thanks.
     
    nikkilou, Jun 24, 2006
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.