[hibernate-dev] OGM (mongodb) on AS 7.1 with Arquillian

2013-01-21 Thread Guillaume SCHEIBEL
Hello, I want to deploy an OGM (mongodb of course) app on AS 7.1 with Arquillian for a demo (at ElsassJUG). I have installed OGM and OGM-monogdb as a module based on the ehcache module (btw, I'll have to create the mongodb part). But when I deploy the app, I have the following error: Caused by: j

Re: [hibernate-dev] OGM (mongodb) on AS 7.1 with Arquillian

2013-01-21 Thread Sanne Grinovero
Hi Guillaume, the archive you're deploying needs to define that it depends on the OGM module you installed; in the arquillian tests in OGM we do that by adding an attribute to the Manifest: https://github.com/hibernate/hibernate-ogm/blob/master/hibernate-ogm-integrationtest/src/test/java/org/hiber

Re: [hibernate-dev] OGM (mongodb) on AS 7.1 with Arquillian

2013-01-21 Thread jonathan wood
Sorry, forgot to copy the list on the original reply...my apologies if you get this twice. This error usually indicates a version mismatch. You likely need to update the hibernate orm module's jar files. An (older) discussion of this can be found here: https://community.jboss.org/thread/195105

[hibernate-dev] Should CollectionEntry::snapshot Include The Results Of Queued Operations?

2013-01-21 Thread John Walker
In hibernate 3.6.10, CollectionEntry::snapshot is sometimes initialized after queued operations (SimpleAdd, Clear,etc) are processed. As a result, the snapshot can contain transient entities, and does not accurately reflect the state of the collection in the database. Is this intentional, or shou

Re: [hibernate-dev] OGM (mongodb) on AS 7.1 with Arquillian

2013-01-21 Thread Guillaume SCHEIBEL
Thanks guys, it helped. A running version has been pushed on github 2013/1/21 jonathan wood > Sorry, forgot to copy the list on the original reply...my apologies if you > get this twice. > > This error usually indicates a version mismatch. You likely need to > update the hibernate orm module's