diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-02 20:13:22 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-02 21:29:42 +0200 |
commit | 29ae9b385a7bf720ae89637582c862df43b7fd0d (patch) | |
tree | c42098461a73b77d0fa8f2d91b09dac10250efdc /sonar-core/src/main/resources/META-INF/persistence.xml | |
parent | 25ff4124dbb2e2e5455fe94a4726c8b4d841f860 (diff) | |
download | sonarqube-29ae9b385a7bf720ae89637582c862df43b7fd0d.tar.gz sonarqube-29ae9b385a7bf720ae89637582c862df43b7fd0d.zip |
SONAR-6588 drop db connection from batch
Diffstat (limited to 'sonar-core/src/main/resources/META-INF/persistence.xml')
-rw-r--r-- | sonar-core/src/main/resources/META-INF/persistence.xml | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sonar-core/src/main/resources/META-INF/persistence.xml b/sonar-core/src/main/resources/META-INF/persistence.xml deleted file mode 100644 index 24ad54095ca..00000000000 --- a/sonar-core/src/main/resources/META-INF/persistence.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?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.api.database.model.Snapshot</class> - <class>org.sonar.api.measures.Metric</class> - <class>org.sonar.api.database.model.ResourceModel</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> |