com.guicedee.services.hibernate.PersistenceGuiceConfigurator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
JPMS Module-Info's for a few of the Jakarta Libraries just until they add them in themselves
package com.guicedee.services.hibernate;
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.guicedee.guicedinjection.GuiceConfig;
import com.guicedee.guicedinjection.implementations.ObjectMapperBinder;
import com.guicedee.guicedinjection.interfaces.IGuiceConfigurator;
import com.guicedee.guicedinjection.interfaces.ObjectBinderKeys;
import org.hibernate.jpa.boot.internal.ParsedPersistenceXmlDescriptor;
public class PersistenceGuiceConfigurator
implements IGuiceConfigurator
{
@Override
public GuiceConfig configure(GuiceConfig config)
{
return config.setPathScanning(true)
.setClasspathScanning(true)
.setExcludeModulesAndJars(true)
.setExcludePaths(true)
;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy