I think if you need to make sure the SessionFactory is fully initialised, you’ll need an observer.
On 11 Jan 2014, at 12:55, Gunnar Morling <gun...@hibernate.org> wrote: > No, at least not in the case of DatastoreProvider. > > I think it depends on the specific service and when it is requested for the > first time. DatastoreProvider is retrieved for the first time while the SF > initialization is still in progress (via entity persister -> grid dialect -> > datastore provider). At this time the half-constructed factory is passed to > StartStoppable#startService(). _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev