All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.persistence-open-admin.xml Maven / Gradle / Ivy

There is a newer version: 3.1.15-GA
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
             version="2.0">
    <persistence-unit name="blPU" transaction-type="RESOURCE_LOCAL">
        <mapping-file>config/bc/jpa/domain/Admin.orm.xml</mapping-file>
        <mapping-file>config/bc/jpa/domain/SandBoxItem.orm.xml</mapping-file>
        <class>org.broadleafcommerce.openadmin.server.security.domain.ForgotPasswordSecurityTokenImpl</class>
        <class>org.broadleafcommerce.openadmin.server.security.domain.AdminPermissionImpl</class>
        <class>org.broadleafcommerce.openadmin.server.security.domain.AdminPermissionQualifiedEntityImpl</class>
        <class>org.broadleafcommerce.openadmin.server.security.domain.AdminRoleImpl</class>
        <class>org.broadleafcommerce.openadmin.server.security.domain.AdminUserImpl</class>
        <class>org.broadleafcommerce.openadmin.server.security.domain.AdminModuleImpl</class>
        <class>org.broadleafcommerce.openadmin.server.security.domain.AdminSectionImpl</class>
        <class>org.broadleafcommerce.openadmin.server.domain.SandBoxItemImpl</class>
        <class>org.broadleafcommerce.openadmin.server.domain.SandBoxActionImpl</class>
        <exclude-unlisted-classes/>
        <properties>
            <property name="hibernate.show_sql" value="false"/>
            <property name="hibernate.transaction.flush_before_completion" value="false"/>
            <property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory"/>
            <property name="hibernate.cache.use_second_level_cache" value="true"/>
            <property name="hibernate.cache.use_query_cache" value="true"/>
            <!--property name="hibernate.generate_statistics" value="true" /-->
            <property name="hibernate.archive.autodetection" value="false" />
            <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
            <property name="hibernate.ejb.session_factory_observer" value="org.broadleafcommerce.openadmin.server.dao.SessionFactoryChangeListener"/>
            <property name="hibernate.id.new_generator_mappings" value="true"/>
        </properties>
    </persistence-unit>
    
    <persistence-unit name="blSecurePU" transaction-type="RESOURCE_LOCAL">
        <exclude-unlisted-classes/>
        <properties>
            <property name="hibernate.show_sql" value="false"/>
            <property name="hibernate.transaction.flush_before_completion" value="false"/>
            <property name="hibernate.cache.use_second_level_cache" value="false"/>
            <property name="hibernate.cache.use_query_cache" value="false"/>
            <property name="hibernate.archive.autodetection" value="false" />
            <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
            <property name="hibernate.id.new_generator_mappings" value="true"/>
        </properties>
    </persistence-unit>

</persistence>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy