![JAR search and dependency download from the Maven repository](/logo.png)
panda.dao.sql.dbcp.ThreadLocalConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.dao.sql.dbcp;
import java.sql.Connection;
import java.sql.SQLException;
public class ThreadLocalConnection extends ProxyConnection {
public ThreadLocalConnection(Connection connection) {
super(connection);
}
@Override
public void close() throws SQLException {
rollback();
}
@Override
protected void finalize() throws Throwable {
super.close();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy