Comments (2)
did you check https://www.sqlite.org/rescode.html#busy_snapshot ?
from sqlite-jdbc.
did you check https://www.sqlite.org/rescode.html#busy_snapshot ?
thanks you i solve this problem,but happened a new problem
java.lang.reflect.UndeclaredThrowableException: null
at com.sun.proxy.$Proxy23.close(Unknown Source)
at com.mybatisflex.core.transaction.TransactionalManager.release(TransactionalManager.java:194)
at com.mybatisflex.core.transaction.TransactionalManager.rollback(TransactionalManager.java:168)
at com.mybatisflex.core.transaction.TransactionalManager.execNewTransactional(TransactionalManager.java:130)
at com.mybatisflex.core.transaction.TransactionalManager.exec(TransactionalManager.java:69)
at com.mybatisflex.core.row.Db.txWithResult(Db.java:1134)
at com.mybatisflex.core.row.Db.txWithResult(Db.java:1127)
at com.mes.dao.config.MecCommonTransactionManager.execTransaction(MecCommonTransactionManager.java:17)
at com.mes.dao.dao.mysql.MysqlMESShopDataDao.expire(MysqlMESShopDataDao.java:189)
at com.mes.dao.dao.sqlite.SqliteMESShopDataDao.expire(SqliteMESShopDataDao.java:69)
at com.mes.thrift.ThriftServerCallbackImpl.isRepeatedMsg(ThriftServerCallbackImpl.java:255)
at com.mes.thrift.ThriftServerCallbackImpl.Push(ThriftServerCallbackImpl.java:90)
at com.maihui.platform.edge.messagecenter.ServerCallbackService$Processor$Push.getResult(ServerCallbackService.java:153)
at com.maihui.platform.edge.messagecenter.ServerCallbackService$Processor$Push.getResult(ServerCallbackService.java:131)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:40)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:40)
at com.mes.thrift.ThriftServerCallbackImpl.process(ThriftServerCallbackImpl.java:113)
at com.mes.common.config.threadpoolutil.AESThreadPoolExecutor.lambda$execute$0(AESThreadPoolExecutor.java:35)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.mybatisflex.core.datasource.FlexDataSource$ConnectionHandler.invoke(FlexDataSource.java:263)
... 21 common frames omitted
Caused by: java.sql.SQLException: database in auto-commit mode
at org.sqlite.SQLiteConnection.rollback(SQLiteConnection.java:454)
at com.zaxxer.hikari.pool.ProxyConnection.close(ProxyConnection.java:257)
... 25 common frames omitted
i use HikariDataSource
and set one connection
HikariDataSource dataSource = new HikariDataSource();
dataSource.setJdbcUrl(url);
dataSource.setMaximumPoolSize(1);
dataSource.setMinimumIdle(1);
dataSource.setConnectionTimeout(50000);
from sqlite-jdbc.
Related Issues (20)
- getGeneratedKeys() come back HOT 8
- Cant retrieve multiple result sets from PreparedStatement.execute() HOT 6
- How to make java archive file (jar) HOT 1
- Why refuse what IBM is doing with DB2 for JDBC 4.1 HOT 1
- Implement DatabaseMetaData#getRowIdLifetime HOT 1
- [Documentation] Specify the default compiled sqlite extensions HOT 1
- Missing support for WAL2 mode in 3.43.2.2 HOT 2
- Cannot use driver in netbeans with version higer than 3.42.0.1 HOT 2
- Newer versions (>sqlite-jdbc-3.43) can't open example database "chinook.db" HOT 2
- why was slf4j-api added as a dependency? HOT 2
- Returning FK_NAME empty
- How do I use sqlite3_load_extension? HOT 1
- SQLITE_TOOBIG since upgrad to java 21 and 3.48.1.0 HOT 2
- getGeneratedKeys no longer working after calling executeBatch HOT 1
- Unwanted output related to SLF4J HOT 1
- How to use streaming query?
- Latest driver Unable to locate table meta-data for ‘some-table-name'
- got java.lang.ExceptionInInitializerError when calling SQLiteConfig.Pragma.values() HOT 7
- Fat jar with REGEXP and other common extensions? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlite-jdbc.