小白求解答:
Fail to setup 'demo.desktop.modules.app.vo.Project'(project) by DB, because: (java.sql.SQLException)'SQLite supports only TRANSACTION_SERIALIZABLE and TRANSACTION_READ_UNCOMMITTED.'
java.sql.SQLException: SQLite supports only TRANSACTION_SERIALIZABLE and TRANSACTION_READ_UNCOMMITTED.
at org.nutz.dao.impl.sql.run.NutDaoRunner._runWithTransaction(NutDaoRunner.java:115)
at org.nutz.dao.impl.sql.run.NutDaoRunner._run(NutDaoRunner.java:88)
at org.nutz.dao.impl.sql.run.NutDaoRunner.run(NutDaoRunner.java:81)
at org.nutz.dao.impl.DaoSupport.run(DaoSupport.java:245)
at org.nutz.dao.impl.NutDao.exists(NutDao.java:800)
at org.nutz.dao.impl.NutDao.create(NutDao.java:759)
at demo.desktop.modules.app.util.CreateSDBThread$1.run(CreateSDBThread.java:79)
at org.nutz.trans.Trans.exec(Trans.java:174)
at demo.desktop.modules.app.util.CreateSDBThread.run(CreateSDBThread.java:76)
Caused by: java.sql.SQLException: SQLite supports only TRANSACTION_SERIALIZABLE and TRANSACTION_READ_UNCOMMITTED.
at org.sqlite.jdbc3.JDBC3Connection.setTransactionIsolation(JDBC3Connection.java:82)
at org.nutz.trans.NutTransaction$ConnInfo.(NutTransaction.java:32)
at org.nutz.trans.NutTransaction.getConnection(NutTransaction.java:92)
at org.nutz.dao.impl.sql.run.NutDaoRunner._runWithTransaction(NutDaoRunner.java:100)
... 8 more
添加回复
请先登陆