Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-15 Thread Guillaume SCHEIBEL
Yes I know that, but you know way better than me the core suite test :) that's why I'm asking 2012/3/15 Sanne Grinovero > On 15 March 2012 16:58, Guillaume SCHEIBEL > wrote: > > Ok, I was affraid of having a lot more data into the DB. > > The stored data type will be just simple object or some

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-15 Thread Sanne Grinovero
On 15 March 2012 16:58, Guillaume SCHEIBEL wrote: > Ok, I was affraid of having a lot more data into the DB. > The stored data type  will be just simple object or some embedded object > could be present too (to know if I have to go all over the field map to find > relationnal data) ? I think that

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-15 Thread Guillaume SCHEIBEL
Ok, I was affraid of having a lot more data into the DB. The stored data type will be just simple object or some embedded object could be present too (to know if I have to go all over the field map to find relationnal data) ? Guillaume 2012/3/15 Emmanuel Bernard > > On 15 mars 2012, at 17:04,

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-15 Thread Emmanuel Bernard
On 15 mars 2012, at 17:04, Guillaume SCHEIBEL wrote: > TestableGridDialect.associationCacheSize is killing me ! > Because it's not possible to perform a query without knowing the field name. > So I can forget about "I want to know the amount of document which contain a > field (except '_id') wh

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-15 Thread Guillaume SCHEIBEL
TestableGridDialect.associationCacheSize is killing me ! Because it's not possible to perform a query without knowing the field name. So I can forget about "I want to know the amount of document which contain a field (except '_id') whose type is ObjectID" The same query with "contain a field named

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-14 Thread Sanne Grinovero
That's a good point. This first abstraction was built around Cache-centric approaches, so that's reflected in the [test]API method names, but there are no "Cache" types in the interface you have to implement. I think you should be able to ignore the inappropriate names and still fullfill the contr

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-14 Thread Guillaume SCHEIBEL
Hi, I'm implementing the MongoDBTestHelper and I have a question Most of the methods implents are referencing a "Cache". Either for Infispan or for EhCache there is a specific implementation of Cache so should I implement mine because I think there isn't any cache into the mongodb-java-driver ?

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-13 Thread Emmanuel Bernard
On 13 mars 2012, at 20:19, Sanne Grinovero wrote: > Hi, > I'm answering inline: > > On 13 March 2012 16:39, Guillaume SCHEIBEL > wrote: >> Hello, >> >> About unit tests during the development phase on OGM-mongodb, I'm wondering >> what is the best way. >> Actually, I've developped some specif

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-13 Thread Sanne Grinovero
Hi, I'm answering inline: On 13 March 2012 16:39, Guillaume SCHEIBEL wrote: > Hello, > > About unit tests during the development phase on OGM-mongodb, I'm wondering > what is the best way. > Actually, I've developped some specific tests (CRUD mainly) because I was > not aware of the existing test

[hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-13 Thread Guillaume SCHEIBEL
Hello, About unit tests during the development phase on OGM-mongodb, I'm wondering what is the best way. Actually, I've developped some specific tests (CRUD mainly) because I was not aware of the existing test suite. So my question is: should I remove all my tests and just use core test or should