@ Override public void setReadOnly ( boolean readOnly ) throws SQLException { checkClosed ( ) ; if ( ! Boolean . parseBoolean ( props . getProperty ( "enableSetReadOnly" , "false" ) ) ) { throw SQLError . noSupport ( ) ; } }
Puts this connection in read - only mode as a hint to the driver to enable database optimizations .