You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2008/01/16 10:29:25 UTC

svn commit: r612393 - in /cayenne/main/trunk/docs/doc/src/main/resources: RELEASE-NOTES.txt UPGRADE.txt

Author: aadamchik
Date: Wed Jan 16 01:29:22 2008
New Revision: 612393

URL: http://svn.apache.org/viewvc?rev=612393&view=rev
Log:
CAY-329 Long vs. Integer PK

Modified:
    cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
    cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt

Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?rev=612393&r1=612392&r2=612393&view=diff
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original)
+++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Wed Jan 16 01:29:22 2008
@@ -15,6 +15,7 @@
 Changes/New Features Since M2:
 
 CAY-263 cdbgen (DbGeneratorTask) must support classpath and classpathref
+CAY-329 Long vs. Integer PK
 CAY-716 DataContext.rollbackChangesLocally() is not implemented for nested DataContexts
 CAY-735 Embeddable class support in the org.apache.cayenne.map package
 CAY-736 Embeddable class support by Cayenne runtime
@@ -40,7 +41,6 @@
 CAY-953 JPA: Single Table inheritance
 CAY-954 EJBQL Query: Support for single table inheritance
 CAY-956 Converter between Expression and EJBQL Expression
-CAY-961 Change PK generator API to take PK DbAttribute parameter; generate pk based on DbAttribute type (partial Long PK implementation)
 
 Bug fixes since M2:
 

Modified: cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt?rev=612393&r1=612392&r2=612393&view=diff
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt (original)
+++ cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt Wed Jan 16 01:29:22 2008
@@ -43,6 +43,13 @@
 * DataContextTransactionEventListener, DataObjectTransactionEventListener, DataContextEvent all were deprecated
   favor of callbacks. NOTE THAT THIS API WILL BE REMOVED IN THE FOLLOWING 3.0 MILESTONES.
   
+* Long PK: Cayenne now supports "long" primary key generation (previously it only supported "int"). You may
+  have to change the existing PK lookup tables on some databases to take advantage of that (this is optional,
+  and is needed if you expect your PK to exceed maximum value of an "int" allowed in your database). E.g. on 
+  MySQL you may run the following SQL:
+  
+  ALTER TABLE AUTO_PK_SUPPORT CHANGE COLUMN NEXT_ID NEXT_ID BIGINT NOT NULL;
+  
 
 UPGRADING FROM 1.2 AND OTHER OBJECTSTYLE RELEASES