Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAchim Loerke2012-10-08 09:53:58 -0400
committerAchim Loerke2012-10-08 09:53:58 -0400
commitf53e65aa4a3e968a71d8f7e998551c41569be356 (patch)
treed5e5670977a1238f8c91358c6e9c422837ecca39 /org.eclipse.jubula.client.core/META-INF/persistence.xml
parent0e2ae98d9db061ea3de2fc15d068218687de0490 (diff)
downloadorg.eclipse.jubula.core-f53e65aa4a3e968a71d8f7e998551c41569be356.tar.gz
org.eclipse.jubula.core-f53e65aa4a3e968a71d8f7e998551c41569be356.tar.xz
org.eclipse.jubula.core-f53e65aa4a3e968a71d8f7e998551c41569be356.zip
Hopefully a fix for #490: Writing of test results slow
Since persisting a test result will generate thousands of insert and update SQL statements this takes some time. Using the property "eclipselink.jdbc.batch-writing" in persistence.xml will fold a thousand requests into one requests with a large bind section. Hopefully this speeds up persisting.
Diffstat (limited to 'org.eclipse.jubula.client.core/META-INF/persistence.xml')
-rw-r--r--org.eclipse.jubula.client.core/META-INF/persistence.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.jubula.client.core/META-INF/persistence.xml b/org.eclipse.jubula.client.core/META-INF/persistence.xml
index c22457e25..69fa6b036 100644
--- a/org.eclipse.jubula.client.core/META-INF/persistence.xml
+++ b/org.eclipse.jubula.client.core/META-INF/persistence.xml
@@ -78,6 +78,12 @@
https://bugs.eclipse.org/bugs/show_bug.cgi?id=379221
-->
<property name="eclipselink.jpql.parser" value="org.eclipse.persistence.queries.ANTLRQueryBuilder"/>
+ <!-- Since writing of test results involves lots of insert/update statements a batch writing
+ might speed things up -->
+ <property name="eclipselink.jdbc.batch-writing" value="JDBC"/>
+ <!-- for very large batches the size might be increased from the default 100 to whatever
+ seems meaningful -->
+ <property name="eclipselink.jdbc.batch-writing.size" value="1000"/>
</properties>
</persistence-unit>

Back to the top