You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by fa...@apache.org on 2009/05/27 22:19:43 UTC
svn commit: r779297 [1/2] -
/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/
Author: faywang
Date: Wed May 27 20:19:42 2009
New Revision: 779297
URL: http://svn.apache.org/viewvc?rev=779297&view=rev
Log:
OPENJPA-1013: clean up test cases
Modified:
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Account.java
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address.java
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contact_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contractor_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Course_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CreditCard_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CriteriaTest.java
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CustomerDetails.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Customer_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Department_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Employee_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Exempt_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/FemaleUser.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Item_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/LineItem_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/MaleUser.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Manager_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Order_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Person_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Phone_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Photo_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/StringComparison.java
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Student_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestMetaModelTypesafeCriteria.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TransactionHistory.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TransactionHistory_.java (contents, props changed)
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/VideoStore.java
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/VideoStore_.java (contents, props changed)
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Account.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Account.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Account.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Account.java Wed May 27 20:19:42 2009
@@ -21,15 +21,11 @@
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
-import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;
/**
* Persistent class used in testing QueryDefinition API.
- *
- * @author Pinaki Poddar
- *
*/
@Entity
@Table(name="CR_ACCT")
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address.java Wed May 27 20:19:42 2009
@@ -30,8 +30,6 @@
* The fields are sometimes not declared as there is no validation yet during
* Query construction.
*
- * @author Pinaki Poddar
- *
*/
@Entity
@Table(name="CR_ADDR")
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address_.java Wed May 27 20:19:42 2009
@@ -1,20 +1,20 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Address.class)
-public class Address_ {
- public static volatile Attribute<Address,String> city;
- public static volatile Attribute<Address,String> country;
- public static volatile Attribute<Address,String> county;
- public static volatile Attribute<Address,Long> id;
- public static volatile Attribute<Address,String> state;
- public static volatile Attribute<Address,String> street;
- public static volatile Attribute<Address,CompUser> user;
- public static volatile Attribute<Address,String> zipCode;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Address.class)
+public class Address_ {
+ public static volatile Attribute<Address,String> city;
+ public static volatile Attribute<Address,String> country;
+ public static volatile Attribute<Address,String> county;
+ public static volatile Attribute<Address,Long> id;
+ public static volatile Attribute<Address,String> state;
+ public static volatile Attribute<Address,String> street;
+ public static volatile Attribute<Address,CompUser> user;
+ public static volatile Attribute<Address,String> zipCode;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Address_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser.java Wed May 27 20:19:42 2009
@@ -1,111 +1,109 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
-
-import javax.persistence.*;
-import org.apache.openjpa.persistence.*;
-
-import java.util.*;
-
-@Entity
-@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
-public class CompUser
-{
- @Basic
- @Column(length=50)
- private String name;
-
- @Basic
- private int age;
-
- @Basic
- @Column(name="compName", length=50)
- private String computerName;
-
- @PersistentCollection(fetch=FetchType.EAGER)
- private String[] nicknames = new String[0];
-
- @OneToOne(cascade={CascadeType.PERSIST, CascadeType.REMOVE})
- @JoinColumn(name="ADD_ID")
- private Address address;
-
- @Id
- @GeneratedValue(strategy=GenerationType.AUTO)
- public int userid;
-
- @Enumerated
- @Basic
- private CreditRating creditRating;
-
- public CompUser(){}
-
- public CompUser(String name, String cName, Address address, int age)
- {
- this.name = name;
- this.computerName = cName;
- this.address = address;
- this.age = age;
- }
-
- public String getComputerName() {
- return computerName;
- }
-
- public void setComputerName(String computerName) {
- this.computerName = computerName;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public int getUserid() {
- return userid;
- }
-
- public Address getAddress() {
- return address;
- }
-
- public void setAddress(Address address) {
- this.address = address;
- }
-
- public int getAge() {
- return age;
- }
-
- public void setAge(int age) {
- this.age = age;
- }
-
- public CreditRating getRating() {
- return creditRating;
- }
-
- public void setRating(CreditRating rating) {
- this.creditRating = rating;
- }
-
- public enum CreditRating { POOR, GOOD, EXCELLENT };
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
+
+import javax.persistence.*;
+import org.apache.openjpa.persistence.*;
+
+@Entity
+@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
+public class CompUser
+{
+ @Basic
+ @Column(length=50)
+ private String name;
+
+ @Basic
+ private int age;
+
+ @Basic
+ @Column(name="compName", length=50)
+ private String computerName;
+
+ @PersistentCollection(fetch=FetchType.EAGER)
+ private String[] nicknames = new String[0];
+
+ @OneToOne(cascade={CascadeType.PERSIST, CascadeType.REMOVE})
+ @JoinColumn(name="ADD_ID")
+ private Address address;
+
+ @Id
+ @GeneratedValue(strategy=GenerationType.AUTO)
+ public int userid;
+
+ @Enumerated
+ @Basic
+ private CreditRating creditRating;
+
+ public CompUser(){}
+
+ public CompUser(String name, String cName, Address address, int age)
+ {
+ this.name = name;
+ this.computerName = cName;
+ this.address = address;
+ this.age = age;
+ }
+
+ public String getComputerName() {
+ return computerName;
+ }
+
+ public void setComputerName(String computerName) {
+ this.computerName = computerName;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getUserid() {
+ return userid;
+ }
+
+ public Address getAddress() {
+ return address;
+ }
+
+ public void setAddress(Address address) {
+ this.address = address;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ public CreditRating getRating() {
+ return creditRating;
+ }
+
+ public void setRating(CreditRating rating) {
+ this.creditRating = rating;
+ }
+
+ public enum CreditRating { POOR, GOOD, EXCELLENT };
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser_.java Wed May 27 20:19:42 2009
@@ -1,19 +1,19 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.List;
-
-@javax.persistence.metamodel.TypesafeMetamodel(value=org.apache.openjpa.persistence.criteria.CompUser.class)
-public class CompUser_ {
- public static volatile Attribute<CompUser,Address> address;
- public static volatile Attribute<CompUser,Integer> age;
- public static volatile Attribute<CompUser,String> computerName;
- public static volatile Attribute<CompUser,CompUser.CreditRating> creditRating;
- public static volatile Attribute<CompUser,String> name;
- public static volatile List<CompUser,String> nicknames;
- public static volatile Attribute<CompUser,Integer> userid;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.List;
+
+@javax.persistence.metamodel.TypesafeMetamodel(value=org.apache.openjpa.persistence.criteria.CompUser.class)
+public class CompUser_ {
+ public static volatile Attribute<CompUser,Address> address;
+ public static volatile Attribute<CompUser,Integer> age;
+ public static volatile Attribute<CompUser,String> computerName;
+ public static volatile Attribute<CompUser,CompUser.CreditRating> creditRating;
+ public static volatile Attribute<CompUser,String> name;
+ public static volatile List<CompUser,String> nicknames;
+ public static volatile Attribute<CompUser,Integer> userid;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CompUser_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contact_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contact_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contact_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contact_.java Wed May 27 20:19:42 2009
@@ -1,15 +1,15 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.List;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Contact.class)
-public class Contact_ {
- public static volatile Attribute<Contact,Address> address;
- public static volatile List<Contact,Phone> phones;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.List;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Contact.class)
+public class Contact_ {
+ public static volatile Attribute<Contact,Address> address;
+ public static volatile List<Contact,Phone> phones;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contact_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contractor_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contractor_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contractor_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contractor_.java Wed May 27 20:19:42 2009
@@ -1,11 +1,11 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Contractor.class)
-public class Contractor_ extends Person_ {
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Contractor.class)
+public class Contractor_ extends Person_ {
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Contractor_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Course_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Course_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Course_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Course_.java Wed May 27 20:19:42 2009
@@ -1,16 +1,16 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.List;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Course.class)
-public class Course_ {
- public static volatile Attribute<Course,Long> id;
- public static volatile Attribute<Course,String> name;
- public static volatile List<Course,Student> studentWaitList;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.List;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Course.class)
+public class Course_ {
+ public static volatile Attribute<Course,Long> id;
+ public static volatile Attribute<Course,String> name;
+ public static volatile List<Course,Student> studentWaitList;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Course_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CreditCard_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CreditCard_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CreditCard_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CreditCard_.java Wed May 27 20:19:42 2009
@@ -1,17 +1,17 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.List;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.CreditCard.class)
-public class CreditCard_ {
- public static volatile Attribute<CreditCard,Customer> customer;
- public static volatile Attribute<CreditCard,Long> id;
- public static volatile List<CreditCard,TransactionHistory>
- transactionHistory;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.List;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.CreditCard.class)
+public class CreditCard_ {
+ public static volatile Attribute<CreditCard,Customer> customer;
+ public static volatile Attribute<CreditCard,Long> id;
+ public static volatile List<CreditCard,TransactionHistory>
+ transactionHistory;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CreditCard_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CriteriaTest.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CriteriaTest.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CriteriaTest.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CriteriaTest.java Wed May 27 20:19:42 2009
@@ -13,9 +13,7 @@
import org.apache.openjpa.jdbc.sql.DBDictionary;
import org.apache.openjpa.lib.jdbc.AbstractJDBCListener;
import org.apache.openjpa.lib.jdbc.JDBCEvent;
-import org.apache.openjpa.lib.jdbc.JDBCListener;
import org.apache.openjpa.lib.jdbc.ReportingSQLException;
-import org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI;
import org.apache.openjpa.persistence.test.SQLListenerTestCase;
@@ -27,8 +25,6 @@
*
* Loads a domain model.
*
- * @author Pinaki Poddar
- *
*/
public abstract class CriteriaTest extends SQLListenerTestCase {
QueryBuilder cb;
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CustomerDetails.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CustomerDetails.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CustomerDetails.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CustomerDetails.java Wed May 27 20:19:42 2009
@@ -1,53 +1,53 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
-
-public class CustomerDetails {
- int id;
-
- int status;
-
- int quantity;
-
- public int getStatus() {
- return status;
- }
-
- public void setStatus(int status) {
- this.status = status;
- }
-
- public int getId() {
- return id;
- }
-
- public void setId(int id) {
- this.id = id;
- }
-
- public int getQuantity() {
- return quantity;
- }
-
- public void setQuantity(int quantity) {
- this.quantity = quantity;
- }
-
-}
-
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
+
+public class CustomerDetails {
+ int id;
+
+ int status;
+
+ int quantity;
+
+ public int getStatus() {
+ return status;
+ }
+
+ public void setStatus(int status) {
+ this.status = status;
+ }
+
+ public int getId() {
+ return id;
+ }
+
+ public void setId(int id) {
+ this.id = id;
+ }
+
+ public int getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(int quantity) {
+ this.quantity = quantity;
+ }
+
+}
+
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/CustomerDetails.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Customer_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Customer_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Customer_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Customer_.java Wed May 27 20:19:42 2009
@@ -1,26 +1,26 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.List;
-import javax.persistence.metamodel.Set;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Customer.class)
-public class Customer_ {
- public static volatile Attribute<Customer,Long> accountNum;
- public static volatile List<Customer,Account> accounts;
- public static volatile Attribute<Customer,Address> address;
- public static volatile Attribute<Customer,Integer> balanceOwed;
- public static volatile Attribute<Customer,Integer> filledOrderCount;
- public static volatile Attribute<Customer,String> firstName;
- public static volatile Attribute<Customer,Long> id;
- public static volatile Attribute<Customer,String> lastName;
- public static volatile Attribute<Customer,String> name;
- public static volatile Set<Customer,Order> orders;
- public static volatile Attribute<Customer,Integer> status;
- public static volatile Attribute<Customer,Customer.CreditRating> creditRating;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.List;
+import javax.persistence.metamodel.Set;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Customer.class)
+public class Customer_ {
+ public static volatile Attribute<Customer,Long> accountNum;
+ public static volatile List<Customer,Account> accounts;
+ public static volatile Attribute<Customer,Address> address;
+ public static volatile Attribute<Customer,Integer> balanceOwed;
+ public static volatile Attribute<Customer,Integer> filledOrderCount;
+ public static volatile Attribute<Customer,String> firstName;
+ public static volatile Attribute<Customer,Long> id;
+ public static volatile Attribute<Customer,String> lastName;
+ public static volatile Attribute<Customer,String> name;
+ public static volatile Set<Customer,Order> orders;
+ public static volatile Attribute<Customer,Integer> status;
+ public static volatile Attribute<Customer,Customer.CreditRating> creditRating;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Customer_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Department_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Department_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Department_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Department_.java Wed May 27 20:19:42 2009
@@ -1,16 +1,16 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.Set;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Department.class)
-public class Department_ {
- public static volatile Attribute<Department,Integer> deptNo;
- public static volatile Set<Department,Employee> employees;
- public static volatile Attribute<Department,String> name;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.Set;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Department.class)
+public class Department_ {
+ public static volatile Attribute<Department,Integer> deptNo;
+ public static volatile Set<Department,Employee> employees;
+ public static volatile Attribute<Department,String> name;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Department_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Employee_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Employee_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Employee_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Employee_.java Wed May 27 20:19:42 2009
@@ -1,21 +1,21 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Employee.class)
-public class Employee_ {
- public static volatile Attribute<Employee,Contact> contactInfo;
- public static volatile Attribute<Employee,Department> department;
- public static volatile Attribute<Employee,Integer> empId;
- public static volatile Attribute<Employee,FrequentFlierPlan> frequentFlierPlan;
- public static volatile Attribute<Employee,Manager> manager;
- public static volatile Attribute<Employee,String> name;
- public static volatile Attribute<Employee,Integer> rating;
- public static volatile Attribute<Employee,Long> salary;
- public static volatile Attribute<Employee,Employee> spouse;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Employee.class)
+public class Employee_ {
+ public static volatile Attribute<Employee,Contact> contactInfo;
+ public static volatile Attribute<Employee,Department> department;
+ public static volatile Attribute<Employee,Integer> empId;
+ public static volatile Attribute<Employee,FrequentFlierPlan> frequentFlierPlan;
+ public static volatile Attribute<Employee,Manager> manager;
+ public static volatile Attribute<Employee,String> name;
+ public static volatile Attribute<Employee,Integer> rating;
+ public static volatile Attribute<Employee,Long> salary;
+ public static volatile Attribute<Employee,Employee> spouse;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Employee_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Exempt_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Exempt_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Exempt_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Exempt_.java Wed May 27 20:19:42 2009
@@ -1,14 +1,14 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import java.util.Date;
-import javax.persistence.metamodel.Attribute;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Exempt.class)
-public class Exempt_ extends Employee_ {
- public static volatile Attribute<Exempt,Date> hireDate;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import java.util.Date;
+import javax.persistence.metamodel.Attribute;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Exempt.class)
+public class Exempt_ extends Employee_ {
+ public static volatile Attribute<Exempt,Date> hireDate;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Exempt_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/FemaleUser.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/FemaleUser.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/FemaleUser.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/FemaleUser.java Wed May 27 20:19:42 2009
@@ -1,35 +1,35 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
-
-import javax.persistence.DiscriminatorValue;
-import javax.persistence.Entity;
-
-@Entity(name="FemUser")
-@DiscriminatorValue(value="F")
-public class FemaleUser extends CompUser
-{
-
- public FemaleUser(){}
-
- public FemaleUser(String name, String cname, Address add, int age, int id)
- {
- super(name, cname, add, age);
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
+
+import javax.persistence.DiscriminatorValue;
+import javax.persistence.Entity;
+
+@Entity(name="FemUser")
+@DiscriminatorValue(value="F")
+public class FemaleUser extends CompUser
+{
+
+ public FemaleUser(){}
+
+ public FemaleUser(String name, String cname, Address add, int age, int id)
+ {
+ super(name, cname, add, age);
+ }
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/FemaleUser.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Item_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Item_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Item_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Item_.java Wed May 27 20:19:42 2009
@@ -1,16 +1,16 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.Map;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Item.class)
-public class Item_ {
- public static volatile Attribute<Item,Integer> id;
- public static volatile Attribute<Item,String> name;
- public static volatile Map<Item,String,Photo> photos;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.Map;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Item.class)
+public class Item_ {
+ public static volatile Attribute<Item,Integer> id;
+ public static volatile Attribute<Item,String> name;
+ public static volatile Map<Item,String,Photo> photos;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Item_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/LineItem_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/LineItem_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/LineItem_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/LineItem_.java Wed May 27 20:19:42 2009
@@ -1,18 +1,18 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.LineItem.class)
-public class LineItem_ {
- public static volatile Attribute<LineItem,Double> cost;
- public static volatile Attribute<LineItem,Integer> id;
- public static volatile Attribute<LineItem,Order> order;
- public static volatile Attribute<LineItem,Double> price;
- public static volatile Attribute<LineItem,Product> product;
- public static volatile Attribute<LineItem,Integer> quantity;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.LineItem.class)
+public class LineItem_ {
+ public static volatile Attribute<LineItem,Double> cost;
+ public static volatile Attribute<LineItem,Integer> id;
+ public static volatile Attribute<LineItem,Order> order;
+ public static volatile Attribute<LineItem,Double> price;
+ public static volatile Attribute<LineItem,Product> product;
+ public static volatile Attribute<LineItem,Integer> quantity;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/LineItem_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/MaleUser.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/MaleUser.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/MaleUser.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/MaleUser.java Wed May 27 20:19:42 2009
@@ -1,33 +1,33 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
-
-import javax.persistence.*;
-
-@Entity
-@DiscriminatorValue(value="M")
-public class MaleUser extends CompUser
-{
- public MaleUser(){}
-
- public MaleUser(String name, String cname, Address add, int age, int id)
- {
- super(name, cname, add, age);
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
+
+import javax.persistence.*;
+
+@Entity
+@DiscriminatorValue(value="M")
+public class MaleUser extends CompUser
+{
+ public MaleUser(){}
+
+ public MaleUser(String name, String cname, Address add, int age, int id)
+ {
+ super(name, cname, add, age);
+ }
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/MaleUser.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Manager_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Manager_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Manager_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Manager_.java Wed May 27 20:19:42 2009
@@ -1,17 +1,17 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import java.math.BigDecimal;
-import javax.persistence.metamodel.Attribute;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Manager.class)
-public class Manager_ {
- public static volatile Attribute<Manager,Department> department;
- public static volatile Attribute<Manager,Integer> id;
- public static volatile Attribute<Manager,String> name;
- public static volatile Attribute<Manager,BigDecimal> salary;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import java.math.BigDecimal;
+import javax.persistence.metamodel.Attribute;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Manager.class)
+public class Manager_ {
+ public static volatile Attribute<Manager,Department> department;
+ public static volatile Attribute<Manager,Integer> id;
+ public static volatile Attribute<Manager,String> name;
+ public static volatile Attribute<Manager,BigDecimal> salary;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Manager_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie.java Wed May 27 20:19:42 2009
@@ -1,43 +1,43 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
-
-import javax.persistence.*;
-
-@Entity
-@Table(name="CR_MV")
-public class Movie {
- @Id
- @GeneratedValue
- private int id;
-
- private String title;
-
- public long getId() {
- return id;
- }
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name="CR_MV")
+public class Movie {
+ @Id
+ @GeneratedValue
+ private int id;
+
+ private String title;
+
+ public long getId() {
+ return id;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie_.java Wed May 27 20:19:42 2009
@@ -1,14 +1,14 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Movie.class)
-public class Movie_ {
- public static volatile Attribute<Movie,Integer> id;
- public static volatile Attribute<Movie,String> title;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Movie.class)
+public class Movie_ {
+ public static volatile Attribute<Movie,Integer> id;
+ public static volatile Attribute<Movie,String> title;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Movie_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Order_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Order_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Order_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Order_.java Wed May 27 20:19:42 2009
@@ -1,23 +1,23 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import java.sql.Timestamp;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.List;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Order.class)
-public class Order_ {
- public static volatile Attribute<Order,Integer> count;
- public static volatile Attribute<Order,Customer> customer;
- public static volatile Attribute<Order,Integer> id;
- public static volatile List<Order,LineItem> lineItems;
- public static volatile Attribute<Order,Integer> quantity;
- public static volatile Attribute<Order,Double> totalCost;
- public static volatile Attribute<Order,Boolean> delivered;
- public static volatile Attribute<Order,Timestamp> orderTs;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import java.sql.Timestamp;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.List;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Order.class)
+public class Order_ {
+ public static volatile Attribute<Order,Integer> count;
+ public static volatile Attribute<Order,Customer> customer;
+ public static volatile Attribute<Order,Integer> id;
+ public static volatile List<Order,LineItem> lineItems;
+ public static volatile Attribute<Order,Integer> quantity;
+ public static volatile Attribute<Order,Double> totalCost;
+ public static volatile Attribute<Order,Boolean> delivered;
+ public static volatile Attribute<Order,Timestamp> orderTs;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Order_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Person_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Person_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Person_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Person_.java Wed May 27 20:19:42 2009
@@ -1,16 +1,16 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.Set;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Person.class)
-public class Person_ {
- public static volatile Attribute<Person,Integer> id;
- public static volatile Attribute<Person,String> name;
- public static volatile Set<Person,String> nickNames;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.Set;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Person.class)
+public class Person_ {
+ public static volatile Attribute<Person,Integer> id;
+ public static volatile Attribute<Person,String> name;
+ public static volatile Set<Person,String> nickNames;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Person_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Phone_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Phone_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Phone_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Phone_.java Wed May 27 20:19:42 2009
@@ -1,16 +1,16 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.Collection;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Phone.class)
-public class Phone_ {
- public static volatile Collection<Phone,Employee> employees;
- public static volatile Attribute<Phone,Integer> id;
- public static volatile Attribute<Phone,String> vendor;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.Collection;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Phone.class)
+public class Phone_ {
+ public static volatile Collection<Phone,Employee> employees;
+ public static volatile Attribute<Phone,Integer> id;
+ public static volatile Attribute<Phone,String> vendor;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Phone_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Photo_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Photo_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Photo_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Photo_.java Wed May 27 20:19:42 2009
@@ -1,14 +1,14 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Photo.class)
-public class Photo_ {
- public static volatile Attribute<Photo,Integer> id;
- public static volatile Attribute<Photo,String> label;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Photo.class)
+public class Photo_ {
+ public static volatile Attribute<Photo,Integer> id;
+ public static volatile Attribute<Photo,String> label;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Photo_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product.java Wed May 27 20:19:42 2009
@@ -1,44 +1,44 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
-import javax.persistence.*;
-
-@Entity
-public class Product {
- @Id
- @GeneratedValue(strategy=GenerationType.IDENTITY)
- private int pid;
-
- private String productType;
-
- @Version
- private long version;
-
- public String getProductType() {
- return productType;
- }
-
- public void setProductType(String productType) {
- this.productType = productType;
- }
-
- public int getPid() {
- return pid;
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
+import javax.persistence.*;
+
+@Entity
+public class Product {
+ @Id
+ @GeneratedValue(strategy=GenerationType.IDENTITY)
+ private int pid;
+
+ private String productType;
+
+ @Version
+ private long version;
+
+ public String getProductType() {
+ return productType;
+ }
+
+ public void setProductType(String productType) {
+ this.productType = productType;
+ }
+
+ public int getPid() {
+ return pid;
+ }
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product_.java Wed May 27 20:19:42 2009
@@ -1,15 +1,15 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Product.class)
-public class Product_ {
- public static volatile Attribute<Product,Integer> pid;
- public static volatile Attribute<Product,String> productType;
- public static volatile Attribute<Product,Long> version;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Product.class)
+public class Product_ {
+ public static volatile Attribute<Product,Integer> pid;
+ public static volatile Attribute<Product,String> productType;
+ public static volatile Attribute<Product,Long> version;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Product_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester.java Wed May 27 20:19:42 2009
@@ -1,46 +1,46 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
-
-import javax.persistence.Entity;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-@Entity
-@Table(name="CR_SMT")
-public class Semester {
- @Id
- @GeneratedValue
- private int id;
-
- private String name;
-
- public int getId() {
- return id;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache 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.apache.org/licenses/LICENSE-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.apache.openjpa.persistence.criteria;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+import javax.persistence.Table;
+
+@Entity
+@Table(name="CR_SMT")
+public class Semester {
+ @Id
+ @GeneratedValue
+ private int id;
+
+ private String name;
+
+ public int getId() {
+ return id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester_.java Wed May 27 20:19:42 2009
@@ -1,14 +1,14 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Semester.class)
-public class Semester_ {
- public static volatile Attribute<Semester,Integer> id;
- public static volatile Attribute<Semester,String> name;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Semester.class)
+public class Semester_ {
+ public static volatile Attribute<Semester,Integer> id;
+ public static volatile Attribute<Semester,String> name;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Semester_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/StringComparison.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/StringComparison.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/StringComparison.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/StringComparison.java Wed May 27 20:19:42 2009
@@ -27,8 +27,6 @@
/**
* Compares a pair of String ignoring case-sensitivity of set of reserved words.
- *
- * @author Pinaki Poddar
*
*/
public class StringComparison {
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Student_.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Student_.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Student_.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Student_.java Wed May 27 20:19:42 2009
@@ -1,16 +1,16 @@
-/**
- * Generated by OpenJPA MetaModel Generator Tool.
-**/
-
-package org.apache.openjpa.persistence.criteria;
-
-import javax.persistence.metamodel.Attribute;
-import javax.persistence.metamodel.Map;
-
-@javax.persistence.metamodel.TypesafeMetamodel(
- value=org.apache.openjpa.persistence.criteria.Student.class)
-public class Student_ {
- public static volatile Map<Student,Course,Semester> enrollment;
- public static volatile Attribute<Student,Integer> id;
- public static volatile Attribute<Student,String> name;
-}
+/**
+ * Generated by OpenJPA MetaModel Generator Tool.
+**/
+
+package org.apache.openjpa.persistence.criteria;
+
+import javax.persistence.metamodel.Attribute;
+import javax.persistence.metamodel.Map;
+
+@javax.persistence.metamodel.TypesafeMetamodel(
+ value=org.apache.openjpa.persistence.criteria.Student.class)
+public class Student_ {
+ public static volatile Map<Student,Course,Semester> enrollment;
+ public static volatile Attribute<Student,Integer> id;
+ public static volatile Attribute<Student,String> name;
+}
Propchange: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/Student_.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java?rev=779297&r1=779296&r2=779297&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java Wed May 27 20:19:42 2009
@@ -48,7 +48,6 @@
* [1] <A href="http://jcp.org/aboutJava/communityprocess/pr/jsr317/index.html">
* JPA API Specification Version 2.0</A>
*
- * @author Pinaki Poddar
*
*/
public class TestCriteria extends SingleEMFTestCase {