class TranDbNewImpl extends DbTran implements TranNode {

    public TranDbNewImpl(Tran meta) {
        super(meta);
    }

    @Override
    public void apply(RunnableEx runnable) throws Throwable {<FILL_FUNCTION_BODY>}
}

        //尝试挂起事务
        //
        DbTran tran = TranManager.trySuspend();

        try {
            super.execute(() -> {
                runnable.run();
            });
        } finally {
            //尝试恢复事务
            TranManager.tryResume(tran);
        }
    
<methods>public void <init>(org.noear.solon.data.annotation.Tran) ,public void close() throws java.lang.Throwable,public void commit() throws java.lang.Throwable,public void execute(org.noear.solon.core.util.RunnableEx) throws java.lang.Throwable,public java.sql.Connection getConnection(javax.sql.DataSource) throws java.sql.SQLException,public org.noear.solon.data.annotation.Tran getMeta() ,public void listen(org.noear.solon.data.tran.TranListener) ,public void rollback() throws java.lang.Throwable<variables>private final Map<javax.sql.DataSource,java.sql.Connection> conMap,private final org.noear.solon.data.tran.TranListenerSet listenerSet,private final non-sealed org.noear.solon.data.annotation.Tran meta,private int status