[hibernate-dev] Services started twice?

Emmanuel Bernard emmanuel at hibernate.org
Mon Mar 5 17:44:35 EST 2012


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 ?
> 
> Sanne
> 
> On 5 March 2012 20:51, Steve Ebersole <steve at hibernate.org> wrote:
>> 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
>>> 
>>> On Mon 05 Mar 2012 06:25:43 AM CST, Emmanuel Bernard wrote:
>>>> 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;
>>>>> Looking into Hibernate Core that seems to be the behaviour for all
>>>>> services.
>>>>> 
>>>>> line 162 and 163 at:
>>>>> org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(ServiceBinding<R>)
>>>>> 
>>>> _______________________________________________
>>>> hibernate-dev mailing list
>>>> hibernate-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>> 
>> 
>> --
>> steve at hibernate.org
>> http://hibernate.org
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev





More information about the hibernate-dev mailing list