Hi,
  JPA 2.0 draft specification (dated around Oct 2008) had published a
'Criteria' API quite similar in spirit of what you are used to with
Hibernate. This API is available with OpenJPA 2.x and nightly built versions
and can be downloaded from OpenJPA website.
  During your migration exercise, you can try the Criteria API as it stands
in OpenJPA 2.0. It is a compliant implementation and will given you a feel
for this new API as well as OpenJPA the benefit of independent testing.
   The 'new' Criteria API is being finalized and will be available in new
draft of JPA 2.0 specification. OpenJPA implementation will follow shortly.  
 

Nitish Kumar wrote:
> 
> Hi all,
>       I am planning to move to Open JPA from Hibernate for various
> reasons, including but not limited to dynamic fetch plan. One of the
> major issue which I am facing is lack of Criteria queries, as most of my
> project heavily use that feature. I am aware that it is a part of JPA
> 2.0 spec, and is in development. I wanted to know if there was any
> planned release date for Open Jpa 2.0, or is it possible to back port
> the criteria feature on 1.2.x release?
> 
> 
> Thanks and Regards,
> Nitish Kumar 
> 
> -------------------------------------------------------------------------------------------------------------------------
> "The information contained in this e-mail transmission is confidential and
> may be privileged. It is intended only for the 
> addressee(s) stated above. If you are not an addressee, any use,
> dissemination, distribution, publication, or copying of 
> the information contained in this e-mail is strictly prohibited. If you
> have received this e-mail in error, please 
> immediately notify us by telephone (+91 80 6618 6555), or e-mail the
> sender and delete the e-mail from your system. 
> If you do not want to receive our emails please let us know so that we may
> delete you from our email list. Proteans 
> Software Solutions and its parent group ("CAMO Group") do not accept
> liability for damage caused by this email, and may 
> monitor email traffic." 
> -------------------------------------------------------------------------------------------------------------------------
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Update-problem-in-OneToMany-bidirection-relationship-tp2447599p2469568.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to