org.h2.jdbc.JdbcSQLException

The database is read only [90097-159]


Solutions on the web609

Solution icon of googlegroups
The database is read only [90097-159]

Solution icon of googlegroups
via Google Groups by Steve Luo, 1 year ago
The database is read only [90097-159]

Solution icon of googlegroups
via Google Groups by Johann Petrak, 7 months ago
The database is read only [90097-193]

Solution icon of googlegroups
via Google Groups by Elango, 1 year ago
The database is read only [90097-44]

Solution icon of googlegroups
via Google Groups by abdurrahim dagdelen, 1 year ago
The database is read only [90097-107]

Solution icon of googlegroups
via Google Groups by Duvel, 1 year ago
The database is read only [90097-69]

Solution icon of github
The database is read only; SQL statement: CREATE PRIMARY KEY ON PUBLIC.SITE_TYPE(ID) [90097-107]

Solution icon of github
The database is read only; SQL statement: CREATE PRIMARY KEY ON PUBLIC.SITE_TYPE(ID) [90097-107]

Solution icon of googlegroups
via Google Groups by bhavin k, 1 year ago
The database is read only; SQL statement: insert into Mytable (col1 ,col2)values(5,5) [90097-153]

Stack trace

  • org.h2.jdbc.JdbcSQLException: The database is read only [90097-159] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) at org.h2.message.DbException.get(DbException.java:169) at org.h2.message.DbException.get(DbException.java:146) at org.h2.message.DbException.get(DbException.java:135) at org.h2.engine.Database.checkWritingAllowed(Database.java:1626) at org.h2.store.PageStore.logUndo(PageStore.java:996) at org.h2.index.PageDataLeaf.create(PageDataLeaf.java:92) at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:227)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 5 days ago
Once, 1 month ago
34 times, 1 month ago
4 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
143 more bugmates