I am using Hibernate 4.2 and build time bytecode instrumentation for solve the lazy issue that appears on a @OneToOne
relation and @Lob
(https://developer.jboss.org/wiki/SomeExplanationsOnLazyLoadingone-to-one)
Do you know what is the difference between :
Hibernate bytecode instrumentation : http://docs.jboss.org/hibernate/orm/4.3/manual/en-US/html/ch20.html#performance-fetching-lazyproperties
Hibernate bytecode enhancement : http://docs.jboss.org/hibernate/orm/4.3/manual/en-US/html/ch20.html#bytecode-enhancement
Because on the hibernate documentation, it is written :
The EnhancementTask is intended as a total replacement for InstrumentTask. Further, it is also incompatible with InstrumentTask, so any existing instrumented classes will need to be built from source again.
I can solve my issue by using bytecode instrumentation but it doesn't works by using bytecode enhancement. Do you know why ?
Maybe, this new feature is not fully developped ?
Thanks for your helps.