Re: [hibernate-dev] Covariant returns

2012-03-15 Thread Demetz, Guenther
>>Was the initial problem you just using SessionImpl directly? Yes, that was the problem, so probably there are no JDK's handling it differently. regards Günther -Original Message- From: hibernate-dev-boun...@lists.jboss.org [mailto:hibernate-dev-boun...@lists.jboss.org] On Behalf O

[hibernate-dev] OGM - BasicGridBinder log issue

2012-03-15 Thread Guillaume SCHEIBEL
Hello, I have noticed that the BasicGridBinder has a problem when it logs the bindding ( BasicGridBinder.bind(Tuple, X, String[] ) method). Actually, the trace is "binding [$s] to parameter(s) $s" but it should be "binding [thevalue] to parameter(s) theparameter". It can be fixed easily by modify

Re: [hibernate-dev] OGM - BasicGridBinder log issue

2012-03-15 Thread Emmanuel Bernard
Thanks for the catch I am working on OGM-40 and will push that as aprt of the same pull request. On 15 mars 2012, at 10:54, Guillaume SCHEIBEL wrote: > Hello, > > I have noticed that the BasicGridBinder has a problem when it logs the > bindding ( BasicGridBinder.bind(Tuple, X, String[] ) metho

Re: [hibernate-dev] OGM - BasicGridBinder log issue

2012-03-15 Thread Emmanuel Bernard
OGM-134 On 15 mars 2012, at 10:56, Emmanuel Bernard wrote: > Thanks for the catch I am working on OGM-40 and will push that as aprt of the > same pull request. > > On 15 mars 2012, at 10:54, Guillaume SCHEIBEL wrote: > >> Hello, >> >> I have noticed that the BasicGridBinder has a problem when

Re: [hibernate-dev] Closed: (HHH-7160) Method NaturalIdXrefDelegate#cache() misses to remove obsolete entry in naturalIdToPkMap when NaturalId values changed

2012-03-15 Thread Demetz, Guenther
Hi Steve, in HHH-7160 we forgot to consider the 2nd-Level-Cache when removing the key from naturalIdToPkMap: private static class NaturalIdResolutionCache implements Serializable { ... final CachedNaturalId initial = pkToNaturalIdMap.get( pk ); if ( initial != null ) {

Re: [hibernate-dev] Closed: (HHH-7160) Method NaturalIdXrefDelegate#cache() misses to remove obsolete entry in naturalIdToPkMap when NaturalId values changed

2012-03-15 Thread Steve Ebersole
I reopened it and gave it a more pertinent subject. Working on other stuff atm, so help here would be appreciated. Only part of evictNaturalIdResolution needs to be called here. I would look at extracting a method from the part of evictNaturalIdResolution that handles the shared cache and us

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

[hibernate-dev] JtaPlaform classes as internal?

2012-03-15 Thread Emmanuel Bernard
Because you need to know the JtaPaltform class name to fill up hibernate.transaction.jta.platform, I find it curious that these classes are in internal. I might decide to delete one of them and not care as they are in internal but that will impact the user. I see two options: 1. create subclas

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

[hibernate-dev] Hibernate Search 4.1 CR2 is out

2012-03-15 Thread Emmanuel Bernard
We have just released Hibernate Search 4.1 CR2. This is mostly a bug fix release but let's mention better compatibility with JBoss AS 7 and better write throughput. Read more at http://goo.gl/2OV8w Emmanuel ___ hibernate-dev mailing list hibernate-dev

Re: [hibernate-dev] Infinispan tests

2012-03-15 Thread Galder Zamarreño
Ok. If the infinispan testsuite takes forever, please send some thread dumps. If you get failures, please indicate the failures. If you get failures often enough that you can easily replicate, add TRACE logging to org.infinispan and org.hibernate.cache.infinispan packages and send me the logs.

Re: [hibernate-dev] JtaPlaform classes as internal?

2012-03-15 Thread Steve Ebersole
I like #2 as well. There is already a JIRA for that. In addition there is also a JIRA for adding some auto-detection in 5.0 On Thu 15 Mar 2012 11:40:07 AM CDT, Emmanuel Bernard wrote: > Because you need to know the JtaPaltform class name to fill up > hibernate.transaction.jta.platform, I find