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

sqlg3.runtime.SimpleTransaction 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;

import sqlg3.core.IDBCommon;
import sqlg3.core.ISimpleTransaction;

public final class SimpleTransaction implements ISimpleTransaction {

    private final TransactionContext transaction;

    public SimpleTransaction(GlobalContext global, SessionContext session) {
        this.transaction = new TransactionContext(global, session);
    }

    @Override
    public  T getInterface(Class iface) {
        return transaction.getInterface(iface, true, true);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy