In hibernate doc there is a mention that in Hibernate 5 the callback will become the second integrate method. It's good they will change the signature. We will then get a compile error and know it's time to change. 

----- Original Message -----

> From: "Carlos Munoz" <notifications@github.com>
> To: "zanata/zanata-server" <zanata-server@noreply.github.com>
> Cc: "Patrick Huang" <pahuang@redhat.com>
> Sent: Monday, February 3, 2014 10:15:27 AM
> Subject: Re: [zanata-server] Unify broadcast transunit updated event (#347)

> In
> zanata-war/src/main/java/org/zanata/webtrans/server/HibernateIntegrator.java:
> > +import org.hibernate.event.service.spi.EventListenerRegistry;
> > +import org.hibernate.event.spi.EventType;
> > +import org.hibernate.event.spi.PostUpdateEventListener;
> > +import org.hibernate.integrator.spi.Integrator;
> > +import org.hibernate.metamodel.source.MetadataImplementor;
> > +import org.hibernate.service.spi.SessionFactoryServiceRegistry;
> > +import org.jboss.seam.Component;
> > +import org.jboss.seam.contexts.Contexts;
> > +import lombok.extern.slf4j.Slf4j;
> > +
> > +/**
> > + * @author Patrick Huang <a
> > + *         href="mailto:pahuang@redhat.com">pahuang@redhat.com</a>
> > + */
> > +@Slf4j
> > +public class HibernateIntegrator implements Integrator {

> Reading the Integrator docs, there's a todo that reads: 'the signature here
> will change, guaranteed'. Need to keep an eye out for when that happens.

> —
> Reply to this email directly or view it on GitHub .