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

sqlg3.runtime.GContext Maven / Gradle / Ivy

Go to download

SQLG is a preprocessor and a library that uses code generation to simplify writing JDBC code

There is a newer version: 3.1
Show newest version
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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy