package org.hswebframework.web.datasource.jta;

import org.hsweb.ezorm.rdb.executor.SqlExecutor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;

/**
 * TODO 完成注释
 *
 * @author zhouhao
 */
@ConditionalOnClass(SqlExecutor.class)
public class JtaJdbcSqlExecutorAutoConfiguration {
    @Bean
    public JtaJdbcSqlExecutor jtaJdbcSqlExecutor() {
        return new JtaJdbcSqlExecutor();
    }
}

@@ -222,47 +222,133 @@
 an;%0A
-%0A/**%0A * TODO %E5%AE%8C%E6%88%90%E6%B3%A8%E9%87%8A%0A *%0A * @author zhouhao
+import org.springframework.context.annotation.Configuration;%0A%0A/**%0A * @author zhouhao%0A * @see JtaJdbcSqlExecutor%0A * @since 3.0
 %0A */
@@ -387,16 +387,31 @@
 .class)%0A
+@Configuration%0A
 public c

优化jta sqlExecutor 配置