sqlg3.runtime.GContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlg3-runtime Show documentation
Show all versions of sqlg3-runtime Show documentation
SQLG is a preprocessor and a library that uses code generation to simplify writing JDBC code
package sqlg3.runtime;
public final class GContext implements AutoCloseable {
final GlobalContext global;
final SessionContext session;
final TransactionContext transaction;
final CallContext call;
GContext(GlobalContext global, SessionContext session, TransactionContext transaction) {
this.global = global;
this.session = session;
this.transaction = transaction;
this.call = new CallContext(global);
}
void ok() {
call.ok();
}
@Override
public void close() {
call.close();
}
}