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

org.fluentjdbc.DbContextConnection Maven / Gradle / Ivy

There is a newer version: 0.5.3
Show newest version
package org.fluentjdbc;

/**
 * Specified a context where a {@link java.sql.Connection} is associated with the current thread
 * in order to perform operations on {@link DbContextTable}. Example:
 *
 * 
 * try (DbContextConnection ignored = context.startConnection(dataSource)) {
 *     return table.where("id", id).orderBy("data").listLongs("data");
 * }
 * 
*/ public interface DbContextConnection extends AutoCloseable { @Override void close(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy