SQLite Forum

how to use in-memory with shared cache in mybatis
Login
Hello team,

I've been recently trying to use in-memory with shared in mybatis. I've read the doc, and tried below configurations in my db.properties which would be read by mybatis initialization. However, it created a file name 

`:memory:?cache=shared`

instead. Apparently, it's not using in-memory db, is it?


Here is my configuration snippet

```
db.env=localdb

db.driver=org.sqlite.JDBC

db.url=jdbc:sqlite::memory:?cache=shared

db.username=

db.password=
```

Any suggestions would be appreciated!

Thanks,
Arthur