This is an automated email from the ASF dual-hosted git repository.

matrei pushed a commit to branch deprecate-for-removal
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 2690996bacbc16937eb9f6a210d5b5cd62ad3e2b
Author: Mattias Reichel <[email protected]>
AuthorDate: Fri Feb 27 13:05:21 2026 +0100

    deprecate: Entity.ALL_DATA_SOURCES, DEFAULT_DATA_SOURCE
    
    Add for removal.
---
 .../main/groovy/org/grails/datastore/mapping/config/Entity.groovy | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/config/Entity.groovy
 
b/grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/config/Entity.groovy
index 19e539c06d..8515a0ce82 100644
--- 
a/grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/config/Entity.groovy
+++ 
b/grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/config/Entity.groovy
@@ -37,15 +37,15 @@ import 
org.grails.datastore.mapping.model.config.GormProperties
 class Entity<P extends Property> {
 
     /**
-     * @deprecated Use {@link ConnectionSource#DEFAULT} instead
+     * @deprecated Use {@link ConnectionSource#ALL} instead
      */
-    @Deprecated
+    @Deprecated(forRemoval = true)
     public static final String ALL_DATA_SOURCES = ConnectionSource.ALL
 
     /**
-     * @deprecated Use {@link ConnectionSource#ALL} instead
+     * @deprecated Use {@link ConnectionSource#DEFAULT} instead
      */
-    @Deprecated
+    @Deprecated(forRemoval = true)
     public static final String DEFAULT_DATA_SOURCE = ConnectionSource.DEFAULT
 
     /**

Reply via email to