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

com.github.datalking.jdbc.transaction.TransactionSynchronizationAdapter Maven / Gradle / Ivy

package com.github.datalking.jdbc.transaction;

import com.github.datalking.common.Ordered;

/**
 * @author yaoo on 5/27/18
 */
public abstract class TransactionSynchronizationAdapter implements TransactionSynchronization, Ordered {

    public int getOrder() {
        return Ordered.LOWEST_PRECEDENCE;
    }

    public void suspend() {
    }

    public void resume() {
    }

    public void flush() {
    }

    public void beforeCommit(boolean readOnly) {
    }

    public void beforeCompletion() {
    }

    public void afterCommit() {
    }

    public void afterCompletion(int status) {
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy