You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by cu...@apache.org on 2012/10/18 21:03:39 UTC
svn commit: r1399789 -
/openjpa/trunk/openjpa-project/src/doc/manual/migration_considerations.xml
Author: curtisr7
Date: Thu Oct 18 19:03:39 2012
New Revision: 1399789
URL: http://svn.apache.org/viewvc?rev=1399789&view=rev
Log:
OPENJPA-2280: Add text to the migration considerations for MappingTool changes.
Modified:
openjpa/trunk/openjpa-project/src/doc/manual/migration_considerations.xml
Modified: openjpa/trunk/openjpa-project/src/doc/manual/migration_considerations.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/migration_considerations.xml?rev=1399789&r1=1399788&r2=1399789&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/migration_considerations.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/migration_considerations.xml Thu Oct 18 19:03:39 2012
@@ -499,4 +499,31 @@
</section>
</section>
</section>
+ <section id="jpa_2.3">
+ <title>
+ OpenJPA 2.3.0
+ </title>
+ <section id="jpa_2.3_incompatibilities">
+ <title>Incompatibilities</title>
+ <para>
+ The following sections indicate changes that are incompatible
+ between OpenJPA 2.2.x releases and the 2.3.0 release.
+ </para>
+ <section id="jpa_2.3_MappingTool">
+ <title>
+ MappingTool Behavior for DB2 and Derby
+ </title>
+ <para>
+ In previous releases, the MappingTool mapped <literal>java.math.BigDecimal</literal> fields to the database type
+ DOUBLE, and as such, ignored <literal>column</literal> and <literal>precision</literal> values that might have been specified via the
+ <literal>javax.persistence.Column</literal> annotation.
+ </para>
+ <para>
+ From the 2.3.0 release, <literal>java.math.BigDecimal</literal> fields are now mapped to the database type DECIMAL
+ and it is very likely that you will need to specify <literal>column</literal> and <literal>precision</literal> via
+ the <literal>javax.persistence.Column</literal> annotation.
+ </para>
+ </section>
+ </section>
+ </section>
</appendix>