META-INF.persistence.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-core Show documentation
Show all versions of sonar-core Show documentation
Core components shared to batch and server
<?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_1_0.xsd" version="1.0"> <persistence-unit name="sonar" transaction-type="RESOURCE_LOCAL"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <class>org.sonar.jpa.entity.SchemaMigration</class> <class>org.sonar.jpa.entity.ManualMeasure</class> <class>org.sonar.api.database.configuration.Property</class> <class>org.sonar.api.database.model.User</class> <class>org.sonar.api.database.model.Snapshot</class> <class>org.sonar.api.database.model.MeasureModel</class> <class>org.sonar.api.design.DependencyDto</class> <class>org.sonar.api.measures.Metric</class> <class>org.sonar.api.database.model.ResourceModel</class> <class>org.sonar.api.rules.Rule</class> <class>org.sonar.api.rules.RuleParam</class> <class>org.sonar.api.resources.ProjectLink</class> <class>org.sonar.api.batch.Event</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> <properties> <property name="hibernate.current_session_context_class" value="thread"/> <property name="hibernate.connection.release_mode" value="after_transaction"/> <property name="hibernate.bytecode.use_reflection_optimizer" value="true"/> <property name="hibernate.query.factory_class" value="org.hibernate.hql.ast.ASTQueryTranslatorFactory"/> <property name="hibernate.jdbc.batch_size" value="30"/> <property name="hibernate.connection.useUnicode" value="true"/> <property name="hibernate.connection.charSet" value="UTF-8"/> <property name="hibernate.connection.characterEncoding" value="UTF-8"/> <property name="hibernate.cache.provider_class" value="org.hibernate.cache.NoCacheProvider"/> <property name="hibernate.cache.use_second_level_cache" value="false"/> <property name="hibernate.cache.use_query_cache" value="false"/> </properties> </persistence-unit> </persistence>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy