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

com.heliorm.OrmTransaction Maven / Gradle / Ivy

The newest version!
package com.heliorm;

/**
 * A transaction returned by the ORM.
 */
public interface OrmTransaction extends AutoCloseable {

    /**
     * Commit changes and close the transaction.
     *
     */
    void commit() throws OrmException;

    /**
     * Rollback changes and close the transaction.
     *
     */
    void rollback() throws OrmException;

    @Override
    void close() throws OrmException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy