📄 callablesqlstrategy.java
字号:
/*
* $Id: CallableSQLStrategy.java 12935 2008-10-07 11:55:16Z dfeist $
* --------------------------------------------------------------------------------------
* Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.transport.jdbc.sqlstrategy;
/**
* Implements strategy for executing simple stored procedures. Only IN parameters
* can be used and no OUT values can be returned from the stored procedure.
*
*/
public class CallableSQLStrategy
extends SimpleUpdateSQLStrategy
{
protected static final String STORED_PROCEDURE_PREFIX = "{ ";
protected static final String STORED_PROCEDURE_SUFFIX = " }";
protected String escapeStatement(String statement)
{
return STORED_PROCEDURE_PREFIX + statement + STORED_PROCEDURE_SUFFIX;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -