/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/authz/trunk/authz-api/api/src/java/org/sakaiproject/authz/api/AuthzGroup.java $ * $Id: AuthzGroup.java 7063 2006-03-27 17:46:13Z ggolden@umich.edu $ *********************************************************************************** * * Copyright (c) 2007, 2008 Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ECL-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * **********************************************************************************/ package org.sakaiproject.authz.impl; /** * methods for accessing authz data in a hypersonic sql database. */ public class DbAuthzGroupSqlHSql extends DbAuthzGroupSqlDefault { // HSQL does not support SELECT FOR UPDATE, so we need to do an ordinary select here. // This means that maximum size limits on groups may not be reliably enforced using HSQL. @Override public String getSelectRealmUpdate() { return "select REALM_KEY from SAKAI_REALM where REALM_ID = ?"; } }