[hibernate-dev] Services started twice?

2012-03-05 Thread Emmanuel Bernard
Quoting Sanne, we discovered that services are started twice by Hibernate ORM. Is that expected that the service guards against that, or is there some issue somewhere either in ORM or in the way OGM declares services? > While looking at this I also noticed the service was actually started twice;

Re: [hibernate-dev] Services started twice?

2012-03-05 Thread Steve Ebersole
Looks like a bad application of the changes y'all pushed earlier adding what is now at line 162 (the ServiceBinding.ServiceLifecycleOwner stuff). Line 163 just needs to go away AFAICT On Mon 05 Mar 2012 06:25:43 AM CST, Emmanuel Bernard wrote: > Quoting Sanne, we discovered that services are st

[hibernate-dev] testJGroupsBackend fail

2012-03-05 Thread Nicolas Helleringer
On current master state I got a : Results : Failed tests: testJGroupsBackend(org.hibernate.search.test.jgroups.common.JGroupsCommonTest): expected:<1> but was:<0> Tests run: 457, Failures: 1, Errors: 0, Skipped: 1 I am on windows. Any ideas ? Cheers, Niko

Re: [hibernate-dev] testJGroupsBackend fail

2012-03-05 Thread Hardy Ferentschik
Hi Niko, can you have a look at the reason for the failure? Is there something in the test execution log? It might just be a timing issue or maybe a multicast configuration problem on windows. --Hardy On Mar 5, 2012, at 4:14 PM, Nicolas Helleringer wrote: > On current master state I got a :

Re: [hibernate-dev] testJGroupsBackend fail

2012-03-05 Thread Nicolas Helleringer
It fails here : at org.hibernate.search.test.jgroups.common.JGroupsCommonTest.testJGroupsBackend(JGroupsCommonTest.java:87 Code seems pretty clear : //get slave session Session s = getSlaveSession(); Transaction tx = s.beginTransaction(); TShirt ts = new TShirt(); ts.setLogo( "Boston" ); ts.se

Re: [hibernate-dev] Services started twice?

2012-03-05 Thread Steve Ebersole
https://hibernate.onjira.com/browse/HHH-7147 On Mon 05 Mar 2012 08:52:53 AM CST, Steve Ebersole wrote: > Looks like a bad application of the changes y'all pushed earlier > adding what is now at line 162 (the > ServiceBinding.ServiceLifecycleOwner stuff). Line 163 just needs to go > away AFAICT

Re: [hibernate-dev] Queries executed with bidirectional @OneToOnes

2012-03-05 Thread Steve Ebersole
Hm, then I do not actually understand the first query either. Are these query results cached? On Wed 29 Feb 2012 03:16:48 PM CST, Guillaume Smet wrote: > On Wed, Feb 29, 2012 at 7:50 PM, Steve Ebersole wrote: >> How are you loading these? Using Query#iterate I assume? > > We are using: > entit

Re: [hibernate-dev] Services started twice?

2012-03-05 Thread Sanne Grinovero
Thanks Steve! Emmanuel, shall I remove my guards against double initialization from the pull request, or shall we keep them to keep compatibility with Hibernate ORM 4.0.x ? Sanne On 5 March 2012 20:51, Steve Ebersole wrote: > https://hibernate.onjira.com/browse/HHH-7147 > > > On Mon 05 Mar 2012

[hibernate-dev] AS7-4007 missing Infinispan dependency for clustered JPA second level cache

2012-03-05 Thread Scott Marlow
Galder, I'm trying to identify the right fix for addressing AS7-4007. I started a clustered second level cache test that currently fails since Infinispan isn't on the test application classpath. The exception call stack that I'm getting is shown here http://pastie.org/3503803. I would like t

Re: [hibernate-dev] Services started twice?

2012-03-05 Thread Emmanuel Bernard
Let's keep it but with a documentation to remove it later. On 5 mars 2012, at 23:01, Sanne Grinovero wrote: > Thanks Steve! > > Emmanuel, shall I remove my guards against double initialization from > the pull request, or shall we keep them to keep compatibility with > Hibernate ORM 4.0.x ? > >