Swizzles entity references around each invocation, maintaining
referential integrity even across passivation of the stateful
bean or Seam-managed extended persistence context, and allowing
for more efficient replication.
Abstraction layer for persistence providers (JPA implementations).
This class provides a working base implementation that can be
optimized for performance and non-standardized features by extending
and overriding the methods.