[hibernate-dev] metamodel thoughts

2011-06-22 Thread Steve Ebersole
Wanted to get my thoughts on the current state of the metamodel down so we could all discuss. First to define some vocab for discussing. I say that the old code (Configuration, HBMBinder/AnnotationBinder, mapping package) used a "push" model. The binders interpreted the various user supplied

Re: [hibernate-dev] Where to start with MongoDB support for OMG?

2011-06-22 Thread Tom Waterhouse
Outstanding, this is a good list. I'll jump in head-first and see what happens (probably lots of bumps and bruises, of course...). Cheers, Tom On Wed, Jun 22, 2011 at 3:05 AM, Emmanuel Bernard wrote: > Hello Tom, > If such person existed, that would be awesome :) > > Here are the steps. > Most

Re: [hibernate-dev] intermittent NPE during an AS7 testsuite run (with Hibernate 4.0.0.Beta1)

2011-06-22 Thread Steve Ebersole
As for the nullness, you can see this if the ServiceRegistry is reused. I have not come up with a good solution for that aside from us explicitly checking (after adding needed method to ask) that the passed registry is still valid. Not getting the concern here about concurrency. The map and

Re: [hibernate-dev] intermittent NPE during an AS7 testsuite run (with Hibernate 4.0.0.Beta1)

2011-06-22 Thread Scott Marlow
Also appears that AbstractServiceRegistryImpl.serviceList is a mutable object and accessed through a mutable object reference. AbstractServiceRegistryImpl.serviceList should also be changed to an immutable object reference (final and let AbstractServiceRegistryImpl.destroy just clear it). Some

[hibernate-dev] Transform theta style join to inner join

2011-06-22 Thread Emanuele . Gesuato
Hi there, we are using hibernate3 and we would like to change one of the behaviour of hibernate in a way to eliminate theta style join in favour of an inner or left join. In some cases theta style join on oracle causes a bug because oracle doesn't support "oracle style" FROM caluse ("from a,d"

Re: [hibernate-dev] intermittent NPE during an AS7 testsuite run (with Hibernate 4.0.0.Beta1)

2011-06-22 Thread Scott Marlow
Good point, it should be "final". I'll make that change (if not done already). On 06/22/2011 11:20 AM, Emmanuel Bernard wrote: > Could it be some thread concurrency visibility? > Since it's a concurrent hashmap, I'd venture it's accessed concurrently :) > > Try and make the variable final (or vol

Re: [hibernate-dev] intermittent NPE during an AS7 testsuite run (with Hibernate 4.0.0.Beta1)

2011-06-22 Thread Emmanuel Bernard
Could it be some thread concurrency visibility? Since it's a concurrent hashmap, I'd venture it's accessed concurrently :) Try and make the variable final (or volatile) to ensure proper visibility across threads. On 22 juin 2011, at 02:44, Scott Marlow wrote: > I'm not sure if we will see this

Re: [hibernate-dev] master build and javadocs

2011-06-22 Thread Steve Ebersole
I do not understand this desire to deploy javadoc jars at all. The source code is there, what does the javadoc add? On 06/22/2011 04:29 AM, Strong Liu wrote: > yeah, i made that change since there are users ask we deploy javadoc jar, but > don't know why test depends on javadoc task > feel

Re: [hibernate-dev] Where to start with MongoDB support for OMG?

2011-06-22 Thread Emmanuel Bernard
Hello Tom, If such person existed, that would be awesome :) Here are the steps. Most if not all operations to the datastore are hidden behind the GridDialect interface. But there are a few steps towards complete success 1. Finish to abstract away GridDialect from Infinispan's Cache API http://op

Re: [hibernate-dev] master build and javadocs

2011-06-22 Thread Strong Liu
yeah, i made that change since there are users ask we deploy javadoc jar, but don't know why test depends on javadoc task feel free to remove/comment off it --- Strong Liu http://hibernate.org http://github.com/stliu On Jun 22, 2011, at 2:12 PM, Hardy Ferentschik wrote: > No idea,