Skip to content

Commit

Permalink
CAY-2845 Deprecate DataObject in favour of Persistent
Browse files Browse the repository at this point in the history
 - release and upgrade notes
  • Loading branch information
stariy95 committed Feb 26, 2024
1 parent 8b58c64 commit 0ca71e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ CAY-2831 Upgrade Gradle to 8.5
CAY-2834 v11 upgrade handler should update XMLPoolingDataSourceFactory package
CAY-2837 Deprecate TraversalHelper and move no-op implementations to TraversalHandler
CAY-2843 Use an IN clause for single field disjoint by ID prefetches
CAY-2845 Deprecate DataObject in favour of Persistent

Bug Fixes:

Expand Down
3 changes: 3 additions & 0 deletions UPGRADE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ fix your imports accordingly.
* Per CAY-2828 `server` prefix removed from the names of runtime properties and named collections defined in `org.apache.cayenne.configuration.Constants`.
You should change references in code, and in any scripts that could use them as system properties.

* Per CAY-2845 `DataObject` interface and `BaseDataObject` class were deprecated and all logic moved to the `Persistent` interface
and `PersistentObject` class . You should regenerate model classes via cgen tool in Cayenne Modeler or Maven/Gradle plugins.

UPGRADING TO 4.2.M2

* Per CAY-2659 All batch translators (`InsertBatchTranslator`, `UpdateBatchTranslator`, etc.) are updated to the new SQLBuilder utility.
Expand Down

0 comments on commit 0ca71e2

Please sign in to comment.