-->
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: Native query support for MongoDB (OGM 4.0.0.Beta4)
PostPosted: Wed Apr 30, 2014 9:21 am 
Newbie

Joined: Wed Apr 30, 2014 9:02 am
Posts: 2
Hi,

I followed the documentation in this release and successfully deployed my app in Jboss EAP6.
The problem is when I try to execute a native mongo query the following error is returned:

Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.ogm.hibernatecore.impl.OgmSession

Can someone please help me?

Thanks,
Vitor


Top
 Profile  
 
 Post subject: Re: Native query support for MongoDB (OGM 4.0.0.Beta4)
PostPosted: Wed Apr 30, 2014 1:24 pm 
Newbie

Joined: Wed Apr 30, 2014 9:02 am
Posts: 2
The upgrade to 4.1.0.Beta2 solved the problem.


Top
 Profile  
 
 Post subject: Re: Native query support for MongoDB (OGM 4.0.0.Beta4)
PostPosted: Tue May 06, 2014 11:03 am 
Hibernate Team
Hibernate Team

Joined: Sat Jan 24, 2009 12:46 pm
Posts: 388
Glad to hear that your problem is solved. If you have an feedback on using Hibernate OGM to access MongoDB (be it good or bad), make sure to let us know.

--Gunnar

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


Top
 Profile  
 
 Post subject: Hibernate OGM badic examples(key/value) (OGM 4.0.0.Beta4)
PostPosted: Fri May 16, 2014 1:41 am 
Newbie

Joined: Fri May 16, 2014 1:12 am
Posts: 2
[quote="Gunnar"]Glad to hear that your problem is solved. If you have an feedback on using Hibernate OGM to access MongoDB (be it good or bad), make sure to let us know.

Please provide me any examples on core hibernate ogm for storing date like key/value fair(infinispan).

thank you in advance
Sanjeev


Top
 Profile  
 
 Post subject: Re: Native query support for MongoDB (OGM 4.0.0.Beta4)
PostPosted: Fri May 16, 2014 7:23 am 
Hibernate Team
Hibernate Team

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

I recommend you take a look at our reference guide (https://docs.jboss.org/hibernate/ogm/4.1/reference/en-US/html_single/); It also discusses storing data in Infinispan.

--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.