To clarify, `/hibernate.properties` (at root of class path) will work. That one (if exists) is always read during boot.
On Mon, Aug 27, 2018 at 9:14 AM Chris Cranford <ch...@hibernate.org> wrote: > Technically the -D parameter should work; however I know a > hibernate.properties file works. > > On 08/24/2018 11:54 PM, Gail Badner 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 > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev