Hibernate3 interceptor used for getting the proper entity name for scoped
beans. As scoped bean classes are proxies generated at runtime, they are
unrecognized by the persisting framework. Using this interceptor, the
original scoped bean class is retrieved end exposed to Hibernate for
persisting.