[hibernate-dev] How to enable Javassist when running a WildFly unit test?
Gail Badner
gbadner at redhat.com
Fri Aug 24 23:54:34 EDT 2018
I tried running:
mvn clean test -Dtest=HibernateNativeAPINaturalIdTestCase
-Dhibernate.bytecode.provider=javassist -Dsecurity.manager=true
The result is a permissions failure, and ByteBuddy is in the stacktrace.
I also tried adding the property to the StandardServiceRegistryBuilder
built by SFSBHibernateSFNaturalId, and that didn't work either.
Is there some other way to enable javassist?
Thanks,
Gail
More information about the hibernate-dev
mailing list