openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r1067188 - /openjpa/branches/2.1.x/openjpa-project/src/doc/manual/migration_considerations.xml
Date Fri, 04 Feb 2011 14:58:55 GMT
Author: kwsutter
Date: Fri Feb  4 14:58:54 2011
New Revision: 1067188

URL: http://svn.apache.org/viewvc?rev=1067188&view=rev
Log:
OPENJPA-1213.  Updating the documentation for the change in behavior with the Query.setParameter()
exception processing (at least our implementation of the interface).

Modified:
    openjpa/branches/2.1.x/openjpa-project/src/doc/manual/migration_considerations.xml

Modified: openjpa/branches/2.1.x/openjpa-project/src/doc/manual/migration_considerations.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/2.1.x/openjpa-project/src/doc/manual/migration_considerations.xml?rev=1067188&r1=1067187&r2=1067188&view=diff
==============================================================================
--- openjpa/branches/2.1.x/openjpa-project/src/doc/manual/migration_considerations.xml (original)
+++ openjpa/branches/2.1.x/openjpa-project/src/doc/manual/migration_considerations.xml Fri
Feb  4 14:58:54 2011
@@ -143,20 +143,20 @@
                     enhancement and at runtime.
                 </para>
             </section>
-            <section id="setParameters">
+            <section id="setParameter">
                 <title>
-                    Query.setParameteres()
+                    Query.setParameter()
                 </title>
                 <!-- See OPENJPA-1213 for details. -->
                 <para>
-                    The Query interface setParameters() method behavior has
-                    changed to throw an IllegalArgumentException if more
-                    parameter substitutions are supplied than defined in the
-                    createQuery() or createNamedQuery() call, as required by
-                    the JPA2 specification.
-                    OpenJPA 1.2.x and prior versions would silently ignore the
-                    supplied parameter substitutions and allow the Query to be
-                    processed.
+                    The Query interface setParameter() method behavior has
+                    changed to throw an IllegalArgumentException (as required 
+                    by the JPA specification) if more parameter substitutions 
+                    are supplied than defined in the createQuery(), 
+                    createNamedQuery(), or createNativeQuery() invocation.
+                    OpenJPA 1.2.x and prior versions silently ignored these
+                    extraneous parameter substitutions and allowed the Query
+                    to be processed.
                 </para>
             </section>
             <section id="serialization">



Mime
View raw message