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

io.quarkiverse.doma.runtime.JtaRequiresNewController Maven / Gradle / Ivy

The newest version!
package io.quarkiverse.doma.runtime;

import jakarta.inject.Singleton;
import jakarta.transaction.Transactional;

import org.seasar.doma.jdbc.RequiresNewController;

import io.quarkus.arc.DefaultBean;

@Singleton
@DefaultBean
public class JtaRequiresNewController implements RequiresNewController {

    @Override
    @Transactional(Transactional.TxType.REQUIRES_NEW)
    public  R requiresNew(Callback callback) throws Throwable {
        return RequiresNewController.super.requiresNew(callback);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy