org.xblackcat.sjpu.storage.IBatchedAH Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sjpu-dbah Show documentation
Show all versions of sjpu-dbah Show documentation
Service for generating DB access logic in simple way via interfaces and annotations
package org.xblackcat.sjpu.storage;
import org.xblackcat.sjpu.storage.ann.CloseResources;
/**
* Marker interface to build statement-cached Access Helper. For each instance of the access helper an connection is
* borrowed until {@linkplain #close()} method is invoked.
*
* @author xBlackCat
*/
public interface IBatchedAH extends IAH, AutoCloseable {
/**
* Close associated connection and other resources
*/
@Override
@CloseResources
void close() throws StorageException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy