Platform Explorer / Nuxeo Platform LTS 2016 8.10

Extension point hibernate

This service uses hibernate as JPA provider. This extension point lets you override the default hibernate configuration.

Contribution Descriptor

Existing Contributions

  • nuxeo-platform-uidgen-core-8.10.jar /OSGI-INF/uidgenerator-contrib.xml
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="NXUIDSequencer">
          <datasource>nxuidsequencer</datasource>
          <properties>
            <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>
  • nuxeo-platform-audit-core-8.10.jar /OSGI-INF/nxaudit-persistence-config.xml
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="nxaudit-logs">
          <datasource>nxaudit-logs</datasource>
          <properties>
            <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>