net.hasor.jdbc.core
接口 SqlProvider


public interface SqlProvider

Interface to be implemented by objects that can provide SQL strings.

Typically implemented by PreparedStatementCreators, CallableStatementCreators and StatementCallbacks that want to expose the SQL they use to create their statements, to allow for better contextual information in case of exceptions.

从以下版本开始:
16.03.2004
作者:
Juergen Hoeller
另请参见:
PreparedStatementCreator, CallableStatementCreator, StatementCallback

方法摘要
 String getSql()
          Return the SQL string for this object, i.e.
 

方法详细信息

getSql

String getSql()
Return the SQL string for this object, i.e. typically the SQL used for creating statements.

返回:
the SQL string, or null


Copyright © 2013-2014. All Rights Reserved.