@Override public void doFinallyBlockForArtifact(Connection conn, final SqlExecutor sqlExecutor, Change artifact) { if (artifact.getMetadataSection() != null && artifact.getMetadataSection().isTogglePresent(TextMarkupDocumentReader.TOGGLE_DISABLE_QUOTED_IDENTIFIERS)) { sqlExecutor.getJdbcTemplate().update(conn, "SET quoted_identifier ON"); } }
@Override public void doTryBlockForArtifact(Connection conn, final SqlExecutor sqlExecutor, Change artifact) { // See here for why we do this: // http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc38151.1510/html/iqrefbb/CACIIHCI.htm // In short - JDBC defaults this to ON, but isql had this to OFF // We have this toggle to handle the legacy DB cases that started off deploying their scripts via isql, and // need to transition to this product, which deploys things via JDBC if (artifact.getMetadataSection() != null && artifact.getMetadataSection().isTogglePresent(TextMarkupDocumentReader.TOGGLE_DISABLE_QUOTED_IDENTIFIERS)) { sqlExecutor.getJdbcTemplate().update(conn, "SET quoted_identifier OFF"); } }
@Override public void doFinallyBlockForArtifact(Connection conn, final SqlExecutor sqlExecutor, Change artifact) { if (artifact.getMetadataSection() != null && artifact.getMetadataSection().isTogglePresent(TextMarkupDocumentReader.TOGGLE_DISABLE_QUOTED_IDENTIFIERS)) { sqlExecutor.getJdbcTemplate().update(conn, "SET quoted_identifier ON"); } }
@Override public void doTryBlockForArtifact(Connection conn, final SqlExecutor sqlExecutor, Change artifact) { // See here for why we do this: // http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc38151.1510/html/iqrefbb/CACIIHCI.htm // In short - JDBC defaults this to ON, but isql had this to OFF // We have this toggle to handle the legacy DB cases that started off deploying their scripts via isql, and // need to transition to this product, which deploys things via JDBC if (artifact.getMetadataSection() != null && artifact.getMetadataSection().isTogglePresent(TextMarkupDocumentReader.TOGGLE_DISABLE_QUOTED_IDENTIFIERS)) { sqlExecutor.getJdbcTemplate().update(conn, "SET quoted_identifier OFF"); } }
@Override public void doTryBlockForArtifact(Connection conn, final SqlExecutor sqlExecutor, Change artifact) { // See here for why we do this: // http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc38151.1510/html/iqrefbb/CACIIHCI.htm // In short - JDBC defaults this to ON, but isql had this to OFF // We have this toggle to handle the legacy DB cases that started off deploying their scripts via isql, and // need to transition to this product, which deploys things via JDBC if (artifact.getMetadataSection() != null && artifact.getMetadataSection().isTogglePresent(TextMarkupDocumentReader.TOGGLE_DISABLE_QUOTED_IDENTIFIERS)) { sqlExecutor.getJdbcTemplate().update(conn, "SET quoted_identifier OFF"); } }
@Override public void doTryBlockForArtifact(Connection conn, final SqlExecutor sqlExecutor, Change artifact) { // See here for why we do this: // http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc38151.1510/html/iqrefbb/CACIIHCI.htm // In short - JDBC defaults this to ON, but isql had this to OFF // We have this toggle to handle the legacy DB cases that started off deploying their scripts via isql, and // need to transition to this product, which deploys things via JDBC if (artifact.getMetadataSection() != null && artifact.getMetadataSection().isTogglePresent(TextMarkupDocumentReader.TOGGLE_DISABLE_QUOTED_IDENTIFIERS)) { sqlExecutor.getJdbcTemplate().update(conn, "SET quoted_identifier OFF"); } }
@Override public void doFinallyBlockForArtifact(Connection conn, final SqlExecutor sqlExecutor, Change artifact) { if (artifact.getMetadataSection() != null && artifact.getMetadataSection().isTogglePresent(TextMarkupDocumentReader.TOGGLE_DISABLE_QUOTED_IDENTIFIERS)) { sqlExecutor.getJdbcTemplate().update(conn, "SET quoted_identifier ON"); } }
@Override public void doFinallyBlockForArtifact(Connection conn, final SqlExecutor sqlExecutor, Change artifact) { if (artifact.getMetadataSection() != null && artifact.getMetadataSection().isTogglePresent(TextMarkupDocumentReader.TOGGLE_DISABLE_QUOTED_IDENTIFIERS)) { sqlExecutor.getJdbcTemplate().update(conn, "SET quoted_identifier ON"); } }