This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 226515 - Add descriptor query policy support to the EclipseLink-ORM.XML Schema
Summary: Add descriptor query policy support to the EclipseLink-ORM.XML Schema
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 211326 226519 226520 226521 226523 226525 226526 211325
Blocks: 325781
  Show dependency tree
 
Reported: 2008-04-10 10:11 EDT by Guy Pelletier CLA
Modified: 2022-06-09 10:34 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Pelletier CLA 2008-04-10 10:11:14 EDT
 
Comment 1 Guy Pelletier CLA 2008-04-10 15:49:23 EDT
We'll add the following annotation and complex element. Note: These are stubs 
and act as the starting point for this functionality. The dependant bugs will 
populate the contents as they are fixed.

A QueryPolicy can be configured at the Entity and MappedSuperclass level

-----------------------------------------------------------------------------

@Target({TYPE})
@Retention(RUNTIME)
public @interface QueryPolicy {

    // The contents to be filled in by dependant bugs

}

-----------------------------------------------------------------------------

<xsd:complexType name="query-policy">
  <xsd:annotation>
    <xsd:documentation>

      @Target({TYPE})
      @Retention(RUNTIME)
      public @interface QueryPolicy {

        // The contents to be filled in by the sub bugs

      }

    </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <!-- Elements to be filled in by dependant bugs -->
  </xsd:sequence>
  <!-- Attributes to be filled in by dependant bugs -->
</xsd:complexType>
Comment 2 Doug Clarke CLA 2008-04-11 14:59:21 EDT
The challenge here is that in JPA queries are define globally for the persistence unit and these are per entity query options. These are rarely used features and we could defer this and it dependent bugs until after 1.0.
Comment 3 Doug Clarke CLA 2008-07-07 13:32:42 EDT
Changed version to unspecified
Comment 4 Peter Krogh CLA 2009-04-03 16:02:31 EDT
These JPA enhancements were accidentally assigned to 1.1.1.
Comment 5 Doug Clarke CLA 2009-11-27 11:00:15 EST
Moving to 2.1 where our goal is to have the eclipselink-orm.xsd fully support all native features currently available in the deployment XML XSD
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:34:35 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink