I use hiebrnate hibernate -envers in my project. when I tried to enhance enable bytecode enhancement, but during program execution I get following error _java.lang.ClassCastException: org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer$1 cannot be cast to java.lang.String_ during program execution . It seems that error appears when I update only non-lazy fields in entity.
I attach maven project with simple data model and test failing with error described above. |
|