Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Re: eclipselink-users Digest, Vol 28, Issue 16

Thanks, Michael and Guy, for your pointers on the criteria queries. It has worked for me. Cheers.

--- On Mon, 12/7/09, eclipselink-users-request@xxxxxxxxxxx <eclipselink-users-request@xxxxxxxxxxx> wrote:

From: eclipselink-users-request@xxxxxxxxxxx <eclipselink-users-request@xxxxxxxxxxx>
Subject: eclipselink-users Digest, Vol 28, Issue 16
To: eclipselink-users@xxxxxxxxxxx
Date: Monday, December 7, 2009, 12:00 PM

Send eclipselink-users mailing list submissions to
    eclipselink-users@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
    https://dev.eclipse.org/mailman/listinfo/eclipselink-users
or, via email, send a message with subject or body 'help' to
    eclipselink-users-request@xxxxxxxxxxx

You can reach the person managing the list at
    eclipselink-users-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of eclipselink-users digest..."


Today's Topics:

   1. Re: question on Criteria API (Guy Pelletier)
   2. RE: EclipseLink 1.2 Planning (Douglas Clarke)


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

Message: 1
Date: Mon, 7 Dec 2009 07:58:59 -0500
From: "Guy Pelletier" <guy.pelletier@xxxxxxxxxx>
Subject: Re: [eclipselink-users] question on Criteria API
To: "EclipseLink User Discussions" <eclipselink-users@xxxxxxxxxxx>
Message-ID: <2825CBEC5A5D4FC79B3E32AE2C59976A@xxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Doug,

You can find more documentation on the model generation here:

http://wiki.eclipse.org/UserGuide/JPA/Using_the_Canonical_Model_Generator_%28ELUG%29

Cheers,
Guy
  ----- Original Message -----
  From: Michael O'Brien
  To: EclipseLink User Discussions
  Sent: Monday, December 07, 2009 2:37 AM
  Subject: Re: [eclipselink-users] question on Criteria API


  Doug,
      Hi,
      1) Here is an example generation of "_" java files without corresponding compiled class files (-proc:only) - placed at the cmd root
      Depending on your IDE, you will be able to automatically generate these as long as the services file is in your classpath.
  javac -processor org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor -proc:only -classpath lib/eclipselink.jar;lib/javax.persistence_2.0_preview.jar;punit src/org/eclipse/persistence/testing/models/jpa/metamodel/*.java
  ....
  Note: Building metadata class for round element: org.eclipse.persistence.testing.models.jpa.metamodel.ArrayProcessor
  ....

      2) CriteriaBuilder is the new replacement rename for QueryBuilder in the Oct 2009 API version of JSR-317.
      The specification was modified around 7 Oct to use CriteriaBuilder - see the latest PFD version of the spec when it arrives on the JSR site as it started on 22 Sept and has not reached a finish date yet as the final approval ballot was marked on 30 Nov - I would expect it out shortly.
      Because of this, on the JSR-317 site - PFD-2 version from 31 Aug 2009 is still listing QueryBuilder as the interface in section 6.3.1 p.199 - this will change.
  http://jcp.org/aboutJava/communityprocess/pfd/jsr317/index2.html


  I checked with my Metamodel issue notes and found the following switch in our codebase...

   /trunk/jpa/plugins/javax.persistence/src/javax/persistence/criteria/QueryBuilder.java 5483  deleted
  http://fisheye2.atlassian.com/changelog/eclipselink/?cs=5483
   /trunk/jpa/plugins/javax.persistence/src/javax/persistence/criteria/CriteriaBuilder.java 5488   (+1456) new
  http://fisheye2.atlassian.com/changelog/eclipselink/?cs=5488
  https://bugs.eclipse.org/bugs/show_bug.cgi?id=291598

     thank you
     /michael

  Daoqi(Doug) Yang wrote:
          I just downloaded EclipseLink 2.0.0 RC1 and have two questions on the Criteria API:




          1)      Where can I find the documentation on how to generate the static canonical metamodel classes?




          2)      This version of EclipseLink still has CriteriaBuilder, vs. QueryBuilder as in the JPA 2.0 spec. When will this be changed?




          Thanks. 


----------------------------------------------------------------------------
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
 



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


  _______________________________________________
  eclipselink-users mailing list
  eclipselink-users@xxxxxxxxxxx
  https://dev.eclipse.org/mailman/listinfo/eclipselink-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://dev.eclipse.org/mailman/private/eclipselink-users/attachments/20091207/8c554089/attachment.html

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

Message: 2
Date: Mon, 7 Dec 2009 07:57:51 -0800 (PST)
From: Douglas Clarke <DOUGLAS.CLARKE@xxxxxxxxxx>
Subject: RE: [eclipselink-users] EclipseLink 1.2 Planning
To: EclipseLink User Discussions <eclipselink-users@xxxxxxxxxxx>
Message-ID: <b8e97235-9f90-4285-844c-36001ede5977@default>
Content-Type: text/plain; charset=Windows-1252

Please make sure you add yourself to the cc list of bugs your are interested in so we can discuss the enhancements within the bug and you are notified of changes made to the bug.

Doug

-----Original Message-----
From: Tim Hollosy [mailto:hollosyt@xxxxxxxxx]
Sent: December 4, 2009 11:37 PM
To: EclipseLink User Discussions
Subject: Re: [eclipselink-users] EclipseLink 1.2 Planning


I voted for the Validation Support bug. I believe Hibernate already
supports this, I'd like to see EclipseLink stay ahead there.

./tch



On Fri, Dec 4, 2009 at 8:27 PM, Samba <saasira@xxxxxxxxx> wrote:
> Hi Doug/Peter,
>
>     I would want to see the bugs listed below getiing fixed in eclipselink
> 2.1.
>
> Bug 260258 - Add SessionBroker support
> Bug 280949 - Proposed Incubator: Add Data Partitioning Support
> Bug 241698 - Add Validation Support
> Further, I would also like to see a pluggable cache implementaion support in
> eclipselink 2.1, for which I could not find any bugzilla entry.
>
>    These are the features that Hibernate has but eclipselink does not have;
> of course, the feature set of eclipselink is so vast but it is always to
> good to have
>    more features, provided people need those features.
>
>    I'm interested in contributing to the Bug 280949 if you can give me a few
> pointers.
>
> Thanks and Regards,
> Samba
>
> On Tue, Dec 1, 2009 at 7:46 AM, Douglas Clarke <DOUGLAS.CLARKE@xxxxxxxxxx>
> wrote:
>
>>
>> EclipseLink Users, Contributors, and Committers,
>>
>> We are wrapping up EclipseLink 2.0 now and need to start working towards
>> EclipseLink 2.1 which will be our Helios release in June. We have
>> accomplished a lot in the last year around standards delivering the
>> reference implementation of SDO 2.1.1 and now JPA 2.0 as well as addressing
>> JAXB 2.1 compliance and many advanced capabilities in all areas of the
>> project. Over the next 2 weeks we need to formalize our 2.1 themes and
>> requirements. Peter and I have started a wiki page for this purpose:
>>
>> http://wiki.eclipse.org/EclipseLink/Development/2.1
>>
>> We are asking all interested parties to help us shape what is coming in
>> the 2.1 release as well as future releases by participating in the process.
>> Please make sure your issues and enhancement requests are captured in bugs
>> with clear descriptions and actionable outcomes. We will be basing our work
>> for this next cycle on the themes we agree upon in an upcoming committer
>> meeting as well as the bug backlog in bugzilla. Make sure if you want an
>> issue addressed that you vote for the bug and/or start a thread on the forum
>> to discuss how the project should address your requirements so that others
>> can become aware of the issue and the bug number so they can vote as well.
>>
>> As always, bugs with patches supplied will be prioritized as we greatly
>> appreciate the additional effort it takes to contribute. All feedback on
>> this process and the project in general is appreciated.
>>
>> Cheers,
>>
>> Doug Clarke & Peter Krogh
>> EclipseLink Project Leads
>> _______________________________________________
>> eclipselink-users mailing list
>> eclipselink-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>>
>>
>
>
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>
>
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


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

_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


End of eclipselink-users Digest, Vol 28, Issue 16
*************************************************


Back to the top