We use a different workaround that involves subclassing Configuration and the PersistenceProvider class. But it would be nice to get an Integrator level hook.