/** * Returns true if the database is read-only. * * @return if the database is read-only * @throws SQLException if the connection is closed */ @Override public boolean isReadOnly() throws SQLException { try { if (isDebugEnabled()) { debugCode("isReadOnly"); } checkClosed(); return session.isReadOnly(); } catch (Exception e) { throw logAndConvert(e); } }