JDG show a deprecated warning for @IndexedField annotation what is the reason and how to avoid it?
Issue
- The JDG 7.1 developer guide examples show
@IndexedFieldannotation to mark attributes for indexing, but JDG 7.1 log a warning that this annotation has been deprecated - JDG show a deprecation warn message for
@IndexedFieldannotation, what is the sucessor with the same functionality - when using the annotations
@IndexedFieldas described in your documentation RHDG runtime is throwing the following warnings of the deprecated annotations like followed
~~~
WARN [org.infinispan.query.remote.impl.indexing.IndexingMetadataCreator] Detected usage of deprecated annotation 'IndexedField' on field Test.id. Please consider replacing it with Field.
Environment
- Red Hat JBoss Data Grid (JDG)
- 7.1, 7.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
