Difference between revisions of "Talk:EclipseLink/UserGuide/JPA/Basic JPA Development/Mapping/Additional Criteria"

From Eclipsepedia

Jump to: navigation, search
Line 7: Line 7:
 
* Should include link to API (annotation, maybe native API (DescriptorQueryManager, Expression))
 
* Should include link to API (annotation, maybe native API (DescriptorQueryManager, Expression))
 
:[[User:James.sutherland.oracle.com|James.sutherland.oracle.com]] 19:33, 28 February 2011 (UTC)
 
:[[User:James.sutherland.oracle.com|James.sutherland.oracle.com]] 19:33, 28 February 2011 (UTC)
 +
 +
* AdditionalCriteria is more part of mapping, than querying, should probably be in the mapping section.
 +
:[[User:James.sutherland.oracle.com|James.sutherland.oracle.com]] 16:52, 1 March 2011 (UTC)

Revision as of 12:52, 1 March 2011

Comments

  • Documentation should be from JPA perspective, not native API, do not talk about descriptors, expressions etc., talk about Entities, Queries.
  • Merging and overriding applies to all annotations/xml, should not document it in here or in every page, but have a single page that documents the overriding behavior.
  • Examples are not use "source lang="java"/"xml"" tags.
  • The example formatting is off, two lines appended to one. The example should be relevant to something that a user would want to do, i.e. ."this.isDeleted = false", or effective dates, or tenants.
  • Should state the purpose of this feature, why would someone want to use it? Soft deletes, history, multi-tenancy, shared table
  • Should include link to API (annotation, maybe native API (DescriptorQueryManager, Expression))
James.sutherland.oracle.com 19:33, 28 February 2011 (UTC)
  • AdditionalCriteria is more part of mapping, than querying, should probably be in the mapping section.
James.sutherland.oracle.com 16:52, 1 March 2011 (UTC)