Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Deleted Retrieving the error message

More
22 Aug 2016 17:45 #21 by Thomas BLETON
Thomas BLETON replied the topic: Retrieving the error message
Une solution possible est de doubler / échaper les apostrophes dans l'expression de la requête.
... VALUES ('%e(rhino){__ctx__.getVariableValue("~/ErrorString").replace("'", "''")}e(rhino)%');

Remarque : il faut employer du scripting rhino, de manière à bénéficier de la fonction replace().