Hi Gail, mvn clean test -Dtest=HibernateNativeAPINaturalIdTestCase -Dextra.server.jvm.args="-Dhibernate.bytecode.provider=javassist" -Dsecurity.manager=true
should do it. But I still see ByteBuddy in the stacktrace. I also tried to add property directly to WildFly configuration file or to hibernate.cfg.xml with the same result. Martin On Sat, Aug 25, 2018 at 11:28 PM Gail Badner <gbad...@redhat.com> wrote: > To clarify, I'm trying to enable javassist on WildFly 14. > > On Fri, Aug 24, 2018 at 8:54 PM, Gail Badner <gbad...@redhat.com> wrote: > > > 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 > > > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev