Hi,
I took a look at the bytecode enhancement Maven plugin and I also have
this issue
https://hibernate.atlassian.net/browse/HHH-8833 .
As far as I can tell the Maven plugin (and I suppose the Gradle plugin
too) doesn't provide any information about the classpath so it's
impossible to use the bytecode enhancement plugin in real life
applications because you obviously have dependencies to other classes.
Is this something supported or something very experimental? I found
some old posts of Emmanuel discouraging the use of bytecode
enhancement so I'm not sure it's a good idea to invest our time in it?
Basically, we have a lot of nullable @OneToOne properties and as far
as I understood it, it's supposed to help this case a lot.
Maybe using something like
http://www.mograblog.com/2010/01/setting-classloader-in-maven-plugin.html
might be a good idea for the Maven plugin?
Anyway feedback welcome before we invest time in it.
Thanks.
--
Guillaume