Really close on this: https://github.com/brmeyer/hibernate-orm/tree/master_HHH-9065
However, currently hitting a few reflite-related CL issues. I think it's something goofy with setting the "initialize" param of Class#forName to true, which kicks off all the static initializations within the classes. There are a few static fields causing problems within dom4j when that happens. Steve Ebersole mentioned possibly being "smart" and skipping at least certain libs (+1 from me), as well as other potential reflite improvements.
So, for now, I'm holding off until right before the 5.0.0 alpha.
|