aboutsummaryrefslogtreecommitdiffstats
path: root/ransim/ransimctrlr/RANSIM-CTRLR/src/test/resources/hibernate.properties
diff options
context:
space:
mode:
authorPriyadharshini <priyadharshini.b96@wipro.com>2020-03-16 05:55:43 +0000
committerPriyadharshini <priyadharshini.b96@wipro.com>2020-03-23 09:11:55 +0530
commitcfb63b2c5c381434a6fdea794ad0c2e89a2be328 (patch)
tree586b997a0634198bf0b0ded5dbbde51ff7311b27 /ransim/ransimctrlr/RANSIM-CTRLR/src/test/resources/hibernate.properties
parent44d8e15bda321936078b99f8222175a8ab016bc6 (diff)
Initial code check-in RANSim Controller and RANSim GUI
Issue-ID: INT-1485 Signed-off-by: Priyadharshini <priyadharshini.b96@wipro.com> Change-Id: I99fe693065072ff5c9b188f2177488a4cd93237d
Diffstat (limited to 'ransim/ransimctrlr/RANSIM-CTRLR/src/test/resources/hibernate.properties')
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/test/resources/hibernate.properties29
1 files changed, 29 insertions, 0 deletions
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/test/resources/hibernate.properties b/ransim/ransimctrlr/RANSIM-CTRLR/src/test/resources/hibernate.properties
new file mode 100644
index 0000000..9b7d955
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/test/resources/hibernate.properties
@@ -0,0 +1,29 @@
+#
+# Hibernate, Relational Persistence for Idiomatic Java
+#
+# License: GNU Lesser General Public License (LGPL), version 2.1 or later.
+# See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
+#
+
+hibernate.dialect org.hibernate.dialect.H2Dialect
+hibernate.connection.driver_class org.h2.Driver
+#hibernate.connection.url jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE
+hibernate.connection.url jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1
+hibernate.connection.username sa
+
+hibernate.connection.pool_size 5
+
+hibernate.show_sql false
+hibernate.format_sql true
+
+hibernate.max_fetch_depth 5
+
+hibernate.cache.region_prefix hibernate.test
+hibernate.cache.region.factory_class org.hibernate.testing.cache.CachingRegionFactory
+
+# NOTE: hibernate.jdbc.batch_versioned_data should be set to false when testing with Oracle
+hibernate.jdbc.batch_versioned_data true
+
+javax.persistence.validation.mode=NONE
+hibernate.service.allow_crawling=false
+hibernate.session.events.log=true \ No newline at end of file