5097N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 5097N/A * Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved. 5097N/A * The contents of this file are subject to the terms of either the GNU 5097N/A * General Public License Version 2 only ("GPL") or the Common Development 5097N/A * and Distribution License("CDDL") (collectively, the "License"). You 5097N/A * may not use this file except in compliance with the License. You can 5097N/A * obtain a copy of the License at 5097N/A * language governing permissions and limitations under the License. 5097N/A * When distributing the software, include this License Header Notice in each 5097N/A * Oracle designates this particular file as subject to the "Classpath" 5097N/A * exception as provided by Oracle in the GPL Version 2 section of the License 5680N/A * file that accompanied this code. 5680N/A * If applicable, add the following below the License Header, with the fields 5680N/A * enclosed by brackets [] replaced by your own identifying information: 5097N/A * "Portions Copyright [year] [name of copyright owner]" 5097N/A * If you wish your version of this file to be governed by only the CDDL or 5097N/A * only the GPL Version 2, indicate your decision by adding "[Contributor] 5097N/A * elects to include this software in this distribution under the [CDDL or GPL 5097N/A * Version 2] license." If you don't indicate a single choice of license, a 5097N/A * recipient has the option to distribute your version of this file under 5097N/A * either the CDDL, the GPL Version 2 or to extend the choice of license to 5097N/A * its licensees as provided above. However, if you add GPL Version 2 code 5097N/A * and therefore, elected the GPL Version 2 license, then the option applies 5097N/A * only if the new code is made subject to such option by the copyright 5097N/A for (
int i=
0; i <
2; i++ ) {
5097N/A // 1. get Department before loading 5097N/A // 3. get Department after loading 5097N/A // assert deptAL.getName == deptName; 5097N/A "SELECT e FROM Employee e WHERE e.firstName like :firstName")
5097N/A // 1. get Department before loading // assert deptBL == null; // 3. get Department after loading // assert deptAL.getName == deptName;