157158159160161162163164165
getEntityName() ) ); } if ( ! isInstrumented() ) { throw new NotInstrumentedException( String.format( "Entity class [%s] is not instrumented", getEntityName() ) ); } return JavassistHelper.extractFieldInterceptor( entity ); }
178179180181182183184185186
getEntityName() ) ); } if ( ! isInstrumented() ) { throw new NotInstrumentedException( String.format( "Entity class [%s] is not instrumented", getEntityName() ) ); } return JavassistHelper.injectFieldInterceptor( entity, entityName, uninitializedFieldNames, session ); }
144145146147148149150151152
165166167168169170171172173
52535455565758
return false; } @Override public FieldInterceptor extractInterceptor(Object entity) throws NotInstrumentedException { throw new NotInstrumentedException( errorMsg ); }
59606162636465
@Override public FieldInterceptor injectInterceptor( Object entity, String entityName, Set uninitializedFieldNames, SessionImplementor session) throws NotInstrumentedException { throw new NotInstrumentedException( errorMsg ); }