geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1483970 [2/2] - in /geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence: ./ criteria/ metamodel/ spi/
Date Fri, 17 May 2013 20:09:11 GMT
Modified: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/CriteriaBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/CriteriaBuilder.java?rev=1483970&r1=1483969&r2=1483970&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/CriteriaBuilder.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/CriteriaBuilder.java
Fri May 17 20:09:10 2013
@@ -31,7 +31,6 @@ import java.util.Map;
 import java.util.Set;
 import javax.persistence.Tuple;
 
-
 public interface CriteriaBuilder {
 
     CriteriaQuery<Object> createQuery();
@@ -40,16 +39,31 @@ public interface CriteriaBuilder {
 
     CriteriaQuery<Tuple> createTupleQuery();
 
+    // methods to construct queries for bulk updates and deletes:
+
+    <T> CriteriaUpdate<T> createCriteriaUpdate(Class<T> targetEntity);
+
+    <T> CriteriaDelete<T> createCriteriaDelete(Class<T> targetEntity);
+
+
+    // selection construction methods:
+	
     <Y> CompoundSelection<Y> construct(Class<Y> resultClass, Selection<?>...
selections);
 
     CompoundSelection<Tuple> tuple(Selection<?>... selections);
 
     CompoundSelection<Object[]> array(Selection<?>... selections);
 
+
+    //ordering:
+	
     Order asc(Expression<?> x);
 
     Order desc(Expression<?> x);
 
+	
+    //aggregate functions:
+	
     <N extends Number> Expression<Double> avg(Expression<N> x);
 
     <N extends Number> Expression<N> sum(Expression<N> x);
@@ -63,12 +77,17 @@ public interface CriteriaBuilder {
     <N extends Number> Expression<N> min(Expression<N> x);
 
     <X extends Comparable<? super X>> Expression<X> greatest(Expression<X>
x);
+    
     <X extends Comparable<? super X>> Expression<X> least(Expression<X>
x);
 
     Expression<Long> count(Expression<?> x);
 
     Expression<Long> countDistinct(Expression<?> x);
 
+
+
+    //subqueries:
+	
     Predicate exists(Subquery<?> subquery);
 
     <Y> Expression<Y> all(Subquery<Y> subquery);
@@ -77,6 +96,9 @@ public interface CriteriaBuilder {
 
     <Y> Expression<Y> any(Subquery<Y> subquery);
 
+
+    //boolean functions:
+	
     Predicate and(Expression<Boolean> x, Expression<Boolean> y);
 
     Predicate and(Predicate... restrictions);
@@ -91,14 +113,23 @@ public interface CriteriaBuilder {
 
     Predicate disjunction();
 
+	
+    //turn Expression<Boolean> into a Predicate
+    //useful for use with varargs methods
+
     Predicate isTrue(Expression<Boolean> x);
 
     Predicate isFalse(Expression<Boolean> x);
 
+	
+    //null tests:
+
     Predicate isNull(Expression<?> x);
 
     Predicate isNotNull(Expression<?> x);
 
+    //equality:
+	
     Predicate equal(Expression<?> x, Expression<?> y);
 
     Predicate equal(Expression<?> x, Object y);
@@ -107,6 +138,9 @@ public interface CriteriaBuilder {
 
     Predicate notEqual(Expression<?> x, Object y);
 
+	
+    //comparisons for generic (non-numeric) operands:
+
     <Y extends Comparable<? super Y>> Predicate greaterThan(Expression<? extends
Y> x, Expression<? extends Y> y);
 
     <Y extends Comparable<? super Y>> Predicate greaterThan(Expression<? extends
Y> x, Y y);
@@ -127,6 +161,9 @@ public interface CriteriaBuilder {
 
     <Y extends Comparable<? super Y>> Predicate between(Expression<? extends
Y> v, Y x, Y y);
 
+
+    //comparisons for numeric operands:
+	
     Predicate gt(Expression<? extends Number> x, Expression<? extends Number>
y);
 
     Predicate gt(Expression<? extends Number> x, Number y);
@@ -143,6 +180,9 @@ public interface CriteriaBuilder {
 
     Predicate le(Expression<? extends Number> x, Number y);
 
+
+    //numerical operations:
+	
     <N extends Number> Expression<N> neg(Expression<N> x);
 
     <N extends Number> Expression<N> abs(Expression<N> x);
@@ -179,6 +219,9 @@ public interface CriteriaBuilder {
 
     Expression<Double> sqrt(Expression<? extends Number> x);
 
+	
+    //typecasts:
+    
     Expression<Long> toLong(Expression<? extends Number> number);
 
     Expression<Integer> toInteger(Expression<? extends Number> number);
@@ -193,14 +236,22 @@ public interface CriteriaBuilder {
 
     Expression<String> toString(Expression<Character> character);
 
+	
+    //literals:
+
     <T> Expression<T> literal(T value);
 
     <T> Expression<T> nullLiteral(Class<T> resultClass);
 
+    //parameters:
+
     <T> ParameterExpression<T> parameter(Class<T> paramClass);
 
     <T> ParameterExpression<T> parameter(Class<T> paramClass, String name);
 
+
+    //collection operations:
+	
     <C extends Collection<?>> Predicate isEmpty(Expression<C> collection);
 
     <C extends Collection<?>> Predicate isNotEmpty(Expression<C> collection);
@@ -217,10 +268,17 @@ public interface CriteriaBuilder {
 
     <E, C extends Collection<E>> Predicate isNotMember(E elem, Expression<C>
collection);
 
+
+    //get the values and keys collections of the Map, which may then
+    //be passed to size(), isMember(), isEmpty(), etc
+
     <V, M extends Map<?, V>> Expression<Collection<V>> values(M map);
 
     <K, M extends Map<K, ?>> Expression<Set<K>> keys(M map);
 
+	
+    //string functions:
+	
     Predicate like(Expression<String> x, Expression<String> pattern);
 
     Predicate like(Expression<String> x, String pattern);
@@ -262,6 +320,7 @@ public interface CriteriaBuilder {
     public static enum Trimspec { 
 
         LEADING,
+ 
         TRAILING, 
 
         BOTH 
@@ -285,6 +344,7 @@ public interface CriteriaBuilder {
 
     Expression<Integer> length(Expression<String> x);
 
+	
     Expression<Integer> locate(Expression<String> x, Expression<String>
pattern);
 
     Expression<Integer> locate(Expression<String> x, String pattern);
@@ -293,15 +353,22 @@ public interface CriteriaBuilder {
 
     Expression<Integer> locate(Expression<String> x, String pattern, int from);
 
+
+    // Date/time/timestamp functions:
+
     Expression<java.sql.Date> currentDate();
 
     Expression<java.sql.Timestamp> currentTimestamp();
 
     Expression<java.sql.Time> currentTime();
 
+
+    //in builders:
+	
     public static interface In<T> extends Predicate {
 
          Expression<T> getExpression();
+	
          In<T> value(T value);
 
          In<T> value(Expression<? extends T> value);
@@ -309,6 +376,9 @@ public interface CriteriaBuilder {
 
     <T> In<T> in(Expression<? extends T> expression);
 
+
+    // coalesce, nullif:
+
     <Y> Expression<Y> coalesce(Expression<? extends Y> x, Expression<?
extends Y> y);
 
     <Y> Expression<Y> coalesce(Expression<? extends Y> x, Y y);
@@ -317,14 +387,21 @@ public interface CriteriaBuilder {
 
     <Y> Expression<Y> nullif(Expression<Y> x, Y y);
 
+
+    // coalesce builder:
+
     public static interface Coalesce<T> extends Expression<T> {
 
          Coalesce<T> value(T value);
 
          Coalesce<T> value(Expression<? extends T> value);
     }
+	
     <T> Coalesce<T> coalesce();
 
+
+    //case builders:
+
     public static interface SimpleCase<C,R> extends Expression<R> {
 
         Expression<C> getExpression();
@@ -340,6 +417,7 @@ public interface CriteriaBuilder {
 
     <C, R> SimpleCase<C,R> selectCase(Expression<? extends C> expression);
 
+
     public static interface Case<R> extends Expression<R> {
 
         Case<R> when(Expression<Boolean> condition, R result);
@@ -353,8 +431,12 @@ public interface CriteriaBuilder {
 
     <R> Case<R> selectCase();
 
-   <T> Expression<T> function(String name, Class<T> type, Expression<?>...
args);
+   <T> Expression<T> function(String name, Class<T> type,
+Expression<?>... args);
    
+
+    // methods for downcasting:
+
    <X, T, V extends T> Join<X, V> treat(Join<X, T> join, Class<V>
type);
    
    <X, T, E extends T> CollectionJoin<X, E> treat(CollectionJoin<X, T>
join, Class<E> type);
@@ -365,13 +447,13 @@ public interface CriteriaBuilder {
    
    <X, K, T, V extends T> MapJoin<X, K, V> treat(MapJoin<X, K, T> join,
Class<V> type);
    
-   <X, T extends X> Path<T> treat(Path<X> join, Class<T> type);
    
-   <X, T extends X> Root<T> treat(Root<X> join, Class<T> type);
+    <X, T extends X> Path<T> treat(Path<X> path, Class<T> type);
    
-   <T> CriteriaDelete<T> createCriteriaDelete(Class<T> targetEntity);
-   
-   <T> CriteriaUpdate<T> createCriteriaUpdate(Class<T> targetEntity);
+    <X, T extends X> Root<T> treat(Root<X> root, Class<T> type);
    
 }
 
+
+
+

Modified: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/CriteriaUpdate.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/CriteriaUpdate.java?rev=1483970&r1=1483969&r2=1483970&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/CriteriaUpdate.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/CriteriaUpdate.java
Fri May 17 20:09:10 2013
@@ -22,11 +22,10 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
-
 package javax.persistence.criteria;
 
-import javax.persistence.metamodel.EntityType;
 import javax.persistence.metamodel.SingularAttribute;
+import javax.persistence.metamodel.EntityType;
 
 public interface CriteriaUpdate<T> extends CommonAbstractCriteria {
 

Modified: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/Join.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/Join.java?rev=1483970&r1=1483969&r2=1483970&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/Join.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/Join.java
Fri May 17 20:09:10 2013
@@ -22,23 +22,21 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
-
 package javax.persistence.criteria;
 
 import javax.persistence.metamodel.Attribute;
 
-
 public interface Join<Z, X> extends From<Z, X> {
 
-    Attribute<? super Z, ?> getAttribute();
+    Join<Z, X> on(Expression<Boolean> restriction);
 
-    From<?, Z> getParent();
+    Join<Z, X> on(Predicate... restrictions);
 
-    JoinType getJoinType();
-    
     Predicate getOn();
     
-    Join<Z, X> on(Expression<Boolean> restriction);
+    Attribute<? super Z, ?> getAttribute();
     
-    Join<Z, X> on(Predicate... restrictions);
+    From<?, Z> getParent();
+
+    JoinType getJoinType();
 }

Modified: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/ListJoin.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/ListJoin.java?rev=1483970&r1=1483969&r2=1483970&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/ListJoin.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/ListJoin.java
Fri May 17 20:09:10 2013
@@ -22,21 +22,19 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
-
 package javax.persistence.criteria;
 
 import java.util.List;
 import javax.persistence.metamodel.ListAttribute;
 
-
 public interface ListJoin<Z, E> 
 		extends PluralJoin<Z, List<E>, E> {
 
-    ListAttribute<? super Z, E> getModel();
-
-    Expression<Integer> index();
-    
     ListJoin<Z, E> on(Expression<Boolean> restriction);
     
     ListJoin<Z, E> on(Predicate... restrictions);
+
+    ListAttribute<? super Z, E> getModel();
+
+    Expression<Integer> index();
 }

Modified: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/MapJoin.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/MapJoin.java?rev=1483970&r1=1483969&r2=1483970&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/MapJoin.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/MapJoin.java
Fri May 17 20:09:10 2013
@@ -22,16 +22,18 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
-
 package javax.persistence.criteria;
 
 import java.util.Map;
 import javax.persistence.metamodel.MapAttribute;
 
-
 public interface MapJoin<Z, K, V> 
 		extends PluralJoin<Z, Map<K, V>, V> {
 
+    MapJoin<Z, K, V> on(Expression<Boolean> restriction);
+
+    MapJoin<Z, K, V> on(Predicate... restrictions);
+
     MapAttribute<? super Z, K, V> getModel();
 
     Path<K> key();
@@ -39,8 +41,4 @@ public interface MapJoin<Z, K, V> 
     Path<V> value(); 
 
     Expression<Map.Entry<K, V>> entry();
-    
-    MapJoin<Z, K, V> on(Expression<Boolean> restriction);
-    
-    MapJoin<Z, K, V> on(Predicate... restrictions);
 }

Modified: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/SetJoin.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/SetJoin.java?rev=1483970&r1=1483969&r2=1483970&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/SetJoin.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/SetJoin.java
Fri May 17 20:09:10 2013
@@ -22,18 +22,16 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
-
 package javax.persistence.criteria;
 
 import java.util.Set;
 import javax.persistence.metamodel.SetAttribute;
 
-
 public interface SetJoin<Z, E> extends PluralJoin<Z, Set<E>, E> {
 
-    SetAttribute<? super Z, E> getModel();
-    
     SetJoin<Z, E> on(Expression<Boolean> restriction);
     
     SetJoin<Z, E> on(Predicate... restrictions);
+
+    SetAttribute<? super Z, E> getModel();
 }

Modified: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/Subquery.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/Subquery.java?rev=1483970&r1=1483969&r2=1483970&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/Subquery.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/Subquery.java
Fri May 17 20:09:10 2013
@@ -22,13 +22,11 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
-
 package javax.persistence.criteria;
 
 import java.util.List;
 import java.util.Set;
 
-
 public interface Subquery<T> extends AbstractQuery<T>, Expression<T> {
 
     Subquery<T> select(Expression<T> expression);
@@ -61,9 +59,11 @@ public interface Subquery<T> extends Abs
 
     AbstractQuery<?> getParent();
 
+    CommonAbstractCriteria getContainingQuery();
+	
     Expression<T> getSelection();
 
     Set<Join<?, ?>> getCorrelatedJoins();
 
-    CommonAbstractCriteria getContainingQuery();
 }
+

Added: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/package-info.java?rev=1483970&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/package-info.java
(added)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/package-info.java
Fri May 17 20:09:10 2013
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+
+package javax.persistence.criteria;

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/package-info.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/criteria/package-info.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/metamodel/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/metamodel/package-info.java?rev=1483970&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/metamodel/package-info.java
(added)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/metamodel/package-info.java
Fri May 17 20:09:10 2013
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+
+package javax.persistence.metamodel;

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/metamodel/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/metamodel/package-info.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/metamodel/package-info.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/package-info.java?rev=1483970&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/package-info.java
(added)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/package-info.java
Fri May 17 20:09:10 2013
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+
+package javax.persistence;

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/package-info.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/package-info.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/PersistenceProvider.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/PersistenceProvider.java?rev=1483970&r1=1483969&r2=1483970&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/PersistenceProvider.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/PersistenceProvider.java
Fri May 17 20:09:10 2013
@@ -22,23 +22,22 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
-
 package javax.persistence.spi;
 
 import javax.persistence.EntityManagerFactory;
 import java.util.Map;
 
-
 public interface PersistenceProvider {
 
     public EntityManagerFactory createEntityManagerFactory(String emName, Map map);
 
     public EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo info,
Map map);
 
-    public ProviderUtil getProviderUtil();
     
-    void generateSchema(PersistenceUnitInfo info, Map map);
+    public void generateSchema(PersistenceUnitInfo info, Map map);
     
-    boolean generateSchema(String persistenceUnitName, Map map);
+    public boolean generateSchema(String persistenceUnitName, Map map); 
+
+    public ProviderUtil getProviderUtil();
 }
 

Added: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/package-info.java?rev=1483970&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/package-info.java
(added)
+++ geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/package-info.java
Fri May 17 20:09:10 2013
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+
+package javax.persistence.spi;

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/package-info.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/specs/trunk/geronimo-jpa_2.1_spec/src/main/java/javax/persistence/spi/package-info.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message