/** * Executes {@link Connection#commit()} and frees * the connection * * @see org.geoserver.security.GeoServerUserGroupStore#store() */ public void store() throws IOException { // Simply commit the transaction try { getConnection().commit(); releaseConnection(); } catch (SQLException ex) { throw new IOException(ex); } setModified(false); //fireUserGroupChangedEvent(); }
/** * * Executes {@link Connection#rollback() and * frees the connection object * @see org.geoserver.security.jdbc.JDBCUserGroupService#load() */ public void load() throws IOException { // Simply roll back the transaction try { getConnection().rollback(); releaseConnection(); } catch (SQLException ex) { throw new IOException(ex); } setModified(false); //fireUserGroupChangedEvent(); }