bitronix.tm.resource.jdbc.proxy.JdbcByteBuddyJavaProxy Maven / Gradle / Ivy
package bitronix.tm.resource.jdbc.proxy;
import bitronix.tm.resource.jdbc.JdbcPooledConnection;
import bitronix.tm.resource.jdbc.LruStatementCache;
import bitronix.tm.resource.jdbc.lrc.LrcXAResource;
import javax.sql.XAConnection;
import java.lang.reflect.Constructor;
import java.sql.*;
public class JdbcByteBuddyJavaProxy
implements JdbcProxyFactory
{
// For LRC we just use the standard Java Proxies
private final JdbcJavaProxyFactory lrcProxyFactory;
private Constructor proxyConnectionConstructor;
private Constructor proxyStatementConstructor;
private Constructor proxyCallableStatementConstructor;
private Constructor proxyPreparedStatementConstructor;
private Constructor proxyResultSetConstructor;
public JdbcByteBuddyJavaProxy()
{
lrcProxyFactory = new JdbcJavaProxyFactory();
}
private void createProxyConnectionClass()
{
}
@Override
public Connection getProxyConnection(JdbcPooledConnection jdbcPooledConnection, Connection connection)
{
return null;
}
@Override
public Statement getProxyStatement(JdbcPooledConnection jdbcPooledConnection, Statement statement)
{
return null;
}
@Override
public CallableStatement getProxyCallableStatement(JdbcPooledConnection jdbcPooledConnection, CallableStatement statement)
{
return null;
}
@Override
public PreparedStatement getProxyPreparedStatement(JdbcPooledConnection jdbcPooledConnection, PreparedStatement statement, LruStatementCache.CacheKey cacheKey)
{
return null;
}
@Override
public ResultSet getProxyResultSet(Statement statement, ResultSet resultSet)
{
return null;
}
@Override
public XAConnection getProxyXaConnection(Connection connection)
{
return null;
}
@Override
public Connection getProxyConnection(LrcXAResource xaResource, Connection connection)
{
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy