-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: 4.0.0.Beta3 and JPA Queries
PostPosted: Mon Oct 07, 2013 5:29 am 
Newbie

Joined: Mon Oct 07, 2013 5:25 am
Posts: 7
Hi,

The release notes state that JP-QL queires are fairly well supported (including selects), but I just get: NotSupportedException( "OGM-21", "JP-QL queries are not supported yet" )

I'm trying to run a simple 'select p from Person' query.

Am I likely to be doing something wrong, or are they not acutally supported?

Thanks,

Sean


Top
 Profile  
 
 Post subject: Re: 4.0.0.Beta3 and JPA Queries
PostPosted: Mon Oct 07, 2013 6:32 am 
Hibernate Team
Hibernate Team

Joined: Fri Sep 09, 2011 3:18 am
Posts: 295
Hi Sean,
at the moment, queries work as long as you use the session and not the entity manager.
We forgot to mention this in the release note, sorry about that.

Davide


Top
 Profile  
 
 Post subject: Re: 4.0.0.Beta3 and JPA Queries
PostPosted: Mon Oct 07, 2013 8:52 am 
Newbie

Joined: Mon Oct 07, 2013 5:25 am
Posts: 7
Hi Davide,

Thanks for your reply.

Got a simple query running using the OgmSession.

I'm loving the idea of Hibernate-OGM. Keep up the good work.

Regards,


Sean


Top
 Profile  
 
 Post subject: Re: 4.0.0.Beta3 and JPA Queries
PostPosted: Sun Dec 08, 2013 4:23 pm 
Newbie

Joined: Tue Apr 25, 2006 9:49 am
Posts: 9
Hello
Is JPA Criteria API supported by 4.0.0.Beta3 ?
Thanks
Alexander


Top
 Profile  
 
 Post subject: Re: 4.0.0.Beta3 and JPA Queries
PostPosted: Tue Dec 10, 2013 9:02 am 
Hibernate Team
Hibernate Team

Joined: Sat Jan 24, 2009 12:46 pm
Posts: 388
Hi,

No, criteria queries are not supported yet. You might want to watch https://hibernate.atlassian.net/browse/OGM-8 for this. Of course any help with this issue is highly welcome :)

--Gunnar

_________________
Visit my blog at http://musingsofaprogrammingaddict.blogspot.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.