Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAchim Loerke2012-10-19 07:57:17 -0400
committerAchim Loerke2012-10-19 07:57:17 -0400
commit820ca944a15f3abd1cef372d07dd71ee55d69ea5 (patch)
treec350a546212e164a43e0f667d87e8fab93923fdc /org.eclipse.jubula.client.core/META-INF/persistence.xml
parente656858c505ded3a68c81a6bcdcc9e827053356a (diff)
downloadorg.eclipse.jubula.core-820ca944a15f3abd1cef372d07dd71ee55d69ea5.tar.gz
org.eclipse.jubula.core-820ca944a15f3abd1cef372d07dd71ee55d69ea5.tar.xz
org.eclipse.jubula.core-820ca944a15f3abd1cef372d07dd71ee55d69ea5.zip
Added support for database dependent configuration
The BatchWriting doesn't work on all DBs or require special parameters to get the best results. To do this the DB dependent DatabaseConnectionInfo (sub) classes now have methods to supply the values. Parameters were removed from the persistence.xml file to allow for a DB specific configuarion.
Diffstat (limited to 'org.eclipse.jubula.client.core/META-INF/persistence.xml')
-rw-r--r--org.eclipse.jubula.client.core/META-INF/persistence.xml8
1 files changed, 1 insertions, 7 deletions
diff --git a/org.eclipse.jubula.client.core/META-INF/persistence.xml b/org.eclipse.jubula.client.core/META-INF/persistence.xml
index 69fa6b036..5ec5a27b5 100644
--- a/org.eclipse.jubula.client.core/META-INF/persistence.xml
+++ b/org.eclipse.jubula.client.core/META-INF/persistence.xml
@@ -78,13 +78,7 @@
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>
+ </properties>
</persistence-unit>
</persistence>

Back to the top