mirror of https://github.com/apache/openjpa.git
OPENJPA-1406 Remove pointers to JIRAs, but leave as comments in the source.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926363 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
148522b865
commit
db10ada93e
|
@ -29,6 +29,7 @@
|
||||||
<title>
|
<title>
|
||||||
Incompatibilities
|
Incompatibilities
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1208 for details. -->
|
||||||
<para>
|
<para>
|
||||||
The following sections indicate changes that are incompatible
|
The following sections indicate changes that are incompatible
|
||||||
between OpenJPA 1.x.x releases and the 2.0 release. Some may
|
between OpenJPA 1.x.x releases and the 2.0 release. Some may
|
||||||
|
@ -40,14 +41,11 @@
|
||||||
OpenJPA 1.x.x compatibility may need to configure the
|
OpenJPA 1.x.x compatibility may need to configure the
|
||||||
appropriate compatibility options to get the desired behavior.
|
appropriate compatibility options to get the desired behavior.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
See OPENJPA-1208 for test cases that
|
|
||||||
demonstrate the behavioral differences.
|
|
||||||
</para>
|
|
||||||
<section id="getProperties">
|
<section id="getProperties">
|
||||||
<title>
|
<title>
|
||||||
getProperties()
|
getProperties()
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-849 for details. -->
|
||||||
<para>
|
<para>
|
||||||
The OpenJPAEntityManagerFactory interface getProperties()
|
The OpenJPAEntityManagerFactory interface getProperties()
|
||||||
method was changed to return a Map instead of a
|
method was changed to return a Map instead of a
|
||||||
|
@ -55,15 +53,12 @@
|
||||||
support the getProperties() method defined in the 2.0
|
support the getProperties() method defined in the 2.0
|
||||||
JPA specification.
|
JPA specification.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
See OPENJPA-849 for test cases that
|
|
||||||
demonstrate the behavioral differences.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
<section id="migration_detach_behavior">
|
<section id="migration_detach_behavior">
|
||||||
<title>
|
<title>
|
||||||
Detach Behavior
|
Detach Behavior
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1215 for details. -->
|
||||||
<para>
|
<para>
|
||||||
The detach behavior has changed in several ways:
|
The detach behavior has changed in several ways:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -122,15 +117,12 @@
|
||||||
public <T> T detachCopy(T pc):
|
public <T> T detachCopy(T pc):
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
See OPENJPA-1215 for test cases that
|
|
||||||
demonstrate the behavioral differences.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
<section id="private_persistent_properties">
|
<section id="private_persistent_properties">
|
||||||
<title>
|
<title>
|
||||||
Use of private persistent properties
|
Use of private persistent properties
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1176 for details. -->
|
||||||
<para>
|
<para>
|
||||||
In 1.x.x releases of OpenJPA, if property access was used,
|
In 1.x.x releases of OpenJPA, if property access was used,
|
||||||
private properties were considered persistent. This is
|
private properties were considered persistent. This is
|
||||||
|
@ -150,15 +142,12 @@
|
||||||
used, this property must be specified at the time of
|
used, this property must be specified at the time of
|
||||||
enhancement and at runtime.
|
enhancement and at runtime.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
See OPENJPA-1176 for test cases that
|
|
||||||
demonstrate the behavioral differences.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
<section id="setParameters">
|
<section id="setParameters">
|
||||||
<title>
|
<title>
|
||||||
Query.setParameteres()
|
Query.setParameteres()
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1213 for details. -->
|
||||||
<para>
|
<para>
|
||||||
The Query interface setParameters() method behavior has
|
The Query interface setParameters() method behavior has
|
||||||
changed to throw an IllegalArgumentException if more
|
changed to throw an IllegalArgumentException if more
|
||||||
|
@ -169,15 +158,12 @@
|
||||||
supplied parameter substitutions and allow the Query to be
|
supplied parameter substitutions and allow the Query to be
|
||||||
processed.
|
processed.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
See OPENJPA-1213 for test cases that
|
|
||||||
demonstrate the behavioral differences.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
<section id="serialization">
|
<section id="serialization">
|
||||||
<title>
|
<title>
|
||||||
Serialization of Entities
|
Serialization of Entities
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1097 for details. -->
|
||||||
<para>
|
<para>
|
||||||
In 1.x.x releases of OpenJPA, when an entity was serialized
|
In 1.x.x releases of OpenJPA, when an entity was serialized
|
||||||
after calling EntityManager.find(), detach() or detachAll()
|
after calling EntityManager.find(), detach() or detachAll()
|
||||||
|
@ -203,6 +189,7 @@
|
||||||
<title>
|
<title>
|
||||||
Disabling AutoOff Collection Tracking
|
Disabling AutoOff Collection Tracking
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1223 and OPENJPA-1163 for details. -->
|
||||||
<para>
|
<para>
|
||||||
The default behavior of openJPA in tracking collections is that
|
The default behavior of openJPA in tracking collections is that
|
||||||
if the number of modifications to the collection exceeds the
|
if the number of modifications to the collection exceeds the
|
||||||
|
@ -219,10 +206,6 @@
|
||||||
is not changed. But when the above property is set then the
|
is not changed. But when the above property is set then the
|
||||||
collection tracking will not be disabled automatically.
|
collection tracking will not be disabled automatically.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
See OPENJPA-1223 and OPENJPA-1163 for test cases that
|
|
||||||
demonstrate the behavioral differences.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
<section id="internal_differences">
|
<section id="internal_differences">
|
||||||
<title>
|
<title>
|
||||||
|
@ -240,21 +223,19 @@
|
||||||
<title>
|
<title>
|
||||||
FieldMapping.getStrategy()
|
FieldMapping.getStrategy()
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1214 for details. -->
|
||||||
<para>
|
<para>
|
||||||
The FieldMapping.getStrategy() in OpenJPA 1.x
|
The FieldMapping.getStrategy() in OpenJPA 1.x
|
||||||
returned an instance of RelationFieldStrategy
|
returned an instance of RelationFieldStrategy
|
||||||
for embded super classes, but will now return an
|
for embded super classes, but will now return an
|
||||||
EmbedFieldStrategy.
|
EmbedFieldStrategy.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
</section>
|
||||||
See OPENJPA-1214 for an
|
|
||||||
example test case demonstrating the change.
|
|
||||||
</para>
|
|
||||||
</section>
|
|
||||||
<section id="prePostUpdate">
|
<section id="prePostUpdate">
|
||||||
<title>
|
<title>
|
||||||
PreUpdate/PostUpdate Life Cycle Callbacks
|
PreUpdate/PostUpdate Life Cycle Callbacks
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1182 for details. -->
|
||||||
<para>
|
<para>
|
||||||
If an entity was updated between the persist()
|
If an entity was updated between the persist()
|
||||||
and commit() operations in OpenJPA 1.x, then
|
and commit() operations in OpenJPA 1.x, then
|
||||||
|
@ -270,15 +251,12 @@
|
||||||
the persist operation is implementation specific
|
the persist operation is implementation specific
|
||||||
and should not be relied upon.
|
and should not be relied upon.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
See OPENJPA-1182 for an
|
|
||||||
example test case demonstrating the change.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
<section id="createemf">
|
<section id="createemf">
|
||||||
<title>
|
<title>
|
||||||
createEntityManagerFactory Exceptions
|
createEntityManagerFactory Exceptions
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1203 for details. -->
|
||||||
<para>
|
<para>
|
||||||
The JPA 2.0 specification section on
|
The JPA 2.0 specification section on
|
||||||
"Bootstrapping in Java SE Environments" states
|
"Bootstrapping in Java SE Environments" states
|
||||||
|
@ -304,14 +282,12 @@
|
||||||
Other JPA 2.0 API and implementation providers
|
Other JPA 2.0 API and implementation providers
|
||||||
or versions may behave differently.
|
or versions may behave differently.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
See OPENJPA-1203 for more details.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
<section id="querycache">
|
<section id="querycache">
|
||||||
<title>
|
<title>
|
||||||
openjpa.QueryCache default
|
openjpa.QueryCache default
|
||||||
</title>
|
</title>
|
||||||
|
<!-- See OPENJPA-1469 and sub-tasks for details. -->
|
||||||
<para>
|
<para>
|
||||||
In previous releases, the default value for the
|
In previous releases, the default value for the
|
||||||
openjpa.QueryCache property was <literal>true</literal>
|
openjpa.QueryCache property was <literal>true</literal>
|
||||||
|
@ -340,9 +316,6 @@
|
||||||
<property name="openjpa.QueryCache" value="true(CacheSize=1000, SoftReferenceSize=100)"/>
|
<property name="openjpa.QueryCache" value="true(CacheSize=1000, SoftReferenceSize=100)"/>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
See OPENJPA-1469 and sub-tasks for more details.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue