Permalink
Browse files

fix: 配置SpringDaoRunner之后dao没有日志了

  • Loading branch information...
1 parent 800327e commit 668a83b9bf70370cd3987b3630bb7bd873e3993a @wendal wendal committed Jan 6, 2017
@@ -5,13 +5,13 @@
import javax.sql.DataSource;
import org.nutz.dao.ConnCallback;
-import org.nutz.dao.impl.DaoRunner;
+import org.nutz.dao.impl.sql.run.NutDaoRunner;
import org.springframework.jdbc.datasource.DataSourceUtils;
-public class SpringDaoRunner implements DaoRunner {
+public class SpringDaoRunner extends NutDaoRunner {
@Override
- public void run(DataSource dataSource, ConnCallback callback) {
+ public void _run(DataSource dataSource, ConnCallback callback) {
Connection con = DataSourceUtils.getConnection(dataSource);
try {

0 comments on commit 668a83b

Please sign in to comment.