You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User story:
"As a user of Jakarta Data in Liberty, I would like to explicitly identify the entity of a Find method so that it can be free to return non-entity values."
In Data 1.0, you could only return entities from Find methods and so the entity type could always be inferred.
In Data 1.1, it is possible to return subsets of the attributes of entities, so a mechanism for identifying the entity type was introduced: adding the entity type as the value of the Find annotation.
Other detail:
The Find annotation value can now be used to discover entity types.
The CWWKD1001.no.primary.entity message will continue to be useful in some cases, but a second message will need to be created that can be used when there is a Find annotation, that also takes into account adding the entity class as a recommended solution (probably the top recommendation).
The text was updated successfully, but these errors were encountered:
User story:
"As a user of Jakarta Data in Liberty, I would like to explicitly identify the entity of a Find method so that it can be free to return non-entity values."
In Data 1.0, you could only return entities from Find methods and so the entity type could always be inferred.
In Data 1.1, it is possible to return subsets of the attributes of entities, so a mechanism for identifying the entity type was introduced: adding the entity type as the value of the Find annotation.
Other detail:
The Find annotation value can now be used to discover entity types.
The CWWKD1001.no.primary.entity message will continue to be useful in some cases, but a second message will need to be created that can be used when there is a Find annotation, that also takes into account adding the entity class as a recommended solution (probably the top recommendation).
The text was updated successfully, but these errors were encountered: