oracle - Liquibase : Error executing SQL SET DEFINE OFF -


i'm using liquibase execute oracle scripts. oracle scripts, executing merge statements oracle, work fine, problem data need insert have strange characters, in order work using set define off (at beginning of file) , set define on (at end of file) in order avoid errors.

but if try run same script in liquibase not working , error:

liquibase update failed: error executing sql set define off 

my changelog looks this:

<changeset author="e-ballo" id="nopa_data_email" dbms="oracle" >     <sqlfile path="email/nopa_activate_security.sql" relativetochangelogfile="true" splitstatements="true" stripcomments="true" /> 

anyone know how avoid problem ?

thanks in advance

set define not sql sql*plus command. sql*plus oracle proprietary client, , other clients (such ides) don't recognise commands.

the liquibase forums suggest using cdata best way pass non-standard characters. find out more.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -