summaryrefslogtreecommitdiff
path: root/opendc-model-odc/setup/src/main/resources
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2018-02-27 10:17:46 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2018-04-22 22:08:11 +0200
commit2c980f4627309b55a160dbe7fc17156201d9dde4 (patch)
treee7fef0c75acc1753ac1ac55736cff926b3e16182 /opendc-model-odc/setup/src/main/resources
parent8bc180adfcbde4cd977474174b846b2fa9dfec5b (diff)
feat(#12): Allow closing of instrument streams
This change in Instrumentation API allows the user to close the data stream of an instrument by introducing a new concept: Port. A user can open a `Port` for a `Simulation` object and attach an arbitrary amount of instruments to this port. The data streams are closed by calling `Port#close()`.
Diffstat (limited to 'opendc-model-odc/setup/src/main/resources')
-rw-r--r--opendc-model-odc/setup/src/main/resources/META-INF/persistence.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-model-odc/setup/src/main/resources/META-INF/persistence.xml b/opendc-model-odc/setup/src/main/resources/META-INF/persistence.xml
index 4c4e6ac7..a091bdbd 100644
--- a/opendc-model-odc/setup/src/main/resources/META-INF/persistence.xml
+++ b/opendc-model-odc/setup/src/main/resources/META-INF/persistence.xml
@@ -35,7 +35,7 @@
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
<property name="hibernate.show_sql" value="false"/>
<property name="hibernate.hbm2ddl.auto" value="validate"/>
- <property name="hibernate.jdbc.batch_size" value="50"/>
+ <property name="hibernate.jdbc.batch_size" value="100"/>
</properties>
</persistence-unit>
</persistence>