All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.litongjava.model.db.ICallback Maven / Gradle / Ivy

There is a newer version: 1.1.4
Show newest version
package com.litongjava.model.db;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * ICallback provide a JDBC Connection if you need it or the active record plugin can not satisfy you requirement.
 */
@FunctionalInterface
public interface ICallback {
	
	/**
	 * Place codes here that need call back by active record plugin.
	 * @param conn the JDBC Connection, you need't close this connection after used it, active record plugin will close it automatically
	 */
	Object call(Connection conn) throws SQLException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy