
org.rx.jdbc.SuperJdbc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxlib-x Show documentation
Show all versions of rxlib-x Show documentation
A set of utilities for Java
The newest version!
package org.rx.jdbc;
import org.rx.core.Disposable;
import java.sql.SQLException;
import java.sql.Wrapper;
public abstract class SuperJdbc extends Disposable implements Wrapper {
public static final String CATALOG = "def";
@Override
protected void freeObjects() {
}
@Override
public T unwrap(Class iface) throws SQLException {
try {
return iface.cast(this);
} catch (ClassCastException e) {
throw new SQLException("Unable to unwrap to " + iface);
}
}
@Override
public boolean isWrapperFor(Class> iface) {
return iface.isInstance(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy