
io.quarkus.hibernate.orm.runtime.Hibernate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-hibernate-orm Show documentation
Show all versions of quarkus-hibernate-orm Show documentation
Define your persistent model with Hibernate ORM and JPA
package io.quarkus.hibernate.orm.runtime;
import org.jboss.logging.Logger;
public class Hibernate {
public static void featureInit(boolean enabled) {
// Override the JPA persistence unit resolver so to use our custom boot
// strategy:
PersistenceProviderSetup.registerStaticInitPersistenceProvider();
if (enabled) {
Logger.getLogger("org.hibernate.quarkus.feature").debug("Hibernate Features Enabled");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy