Called just before an object is initialized. The interceptor may change the
state, which will be propagated to the persistent object. Note that when this method is called,
entity will be an empty uninitialized instance of the class.
NOTE: The indexes across the
state,
propertyNames and
types arrays match.
@param entity The entity instance being loaded
@param id The identifier value being loaded
@param state The entity state (which will be pushed into the entity instance)
@param propertyNames The names of the entity properties, corresponding to the
state.
@param types The types of the entity properties, corresponding to the
state.
@return {@code true} if the user modified the
state in any way.
@throws CallbackException Thrown if the interceptor encounters any problems handling the callback.