Examples of SQLExecutorListener


Examples of org.fto.jthink.jdbc.SQLExecutorListener

    /* 创建SQLExecutor */
    sqlExecutor = transaction.getSQLExecutorFactory(connId).create();
   
    /* 设置SQLExecutor监听器 */
    sqlExecutor.addSQLExecutorListener(new SQLExecutorListener(){
      /* 监听器的事件方法,当在执行SQL语句时调用此方法 */
      public void executeSQLCommand(SQLExecutorEvent evt) {
        logger.debug(evt.getSQL().getSQLString());
      }
     
View Full Code Here

Examples of org.fto.jthink.jdbc.SQLExecutorListener

    /* 返回定义的JDBC事务工厂,并创建事务 */
    transaction = (JDBCTransaction)((TransactionFactory)resManager.getResource(transId)).create();
    /* 创建SQLExecutor */
    sqlExecutor = transaction.getSQLExecutorFactory(connId).create();
    /* 设置SQLExecutor监听器 */
    sqlExecutor.addSQLExecutorListener(new SQLExecutorListener(){
      /* 监听器的事件方法,当在执行SQL语句时调用此方法 */
      public void executeSQLCommand(SQLExecutorEvent evt) {
        logger.debug(evt.getSQL().getSQLString());
      }
    });
View Full Code Here

Examples of org.fto.jthink.jdbc.SQLExecutorListener

    /* 返回定义的JDBC事务工厂,并创建事务 */
    transaction = (JDBCTransaction)((TransactionFactory)resManager.getResource(transId)).create();
    /* 创建SQLExecutor */
    sqlExecutor = transaction.getSQLExecutorFactory(connId).create();
    /* 设置SQLExecutor监听器 */
    sqlExecutor.addSQLExecutorListener(new SQLExecutorListener(){
      /* 监听器的事件方法,当在执行SQL语句时调用此方法 */
      public void executeSQLCommand(SQLExecutorEvent evt) {
        logger.debug(evt.getSQL().getSQLString());
      }
    });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.