]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
Properties for PostgresDB are introduced.
authorrkv <rkv@opencascade.com>
Mon, 26 Nov 2012 08:40:44 +0000 (08:40 +0000)
committerrkv <rkv@opencascade.com>
Mon, 26 Nov 2012 08:40:44 +0000 (08:40 +0000)
Workspace/Siman-Common/src/test/hibernate.properties
Workspace/Siman-Common/src/test/jdbc.properties
Workspace/Siman-Common/src/test/pg_hibernate.properties [new file with mode: 0644]
Workspace/Siman-Common/src/test/pg_jdbc.properties [new file with mode: 0644]

index 94db428125ca6b728b67b740466a0c19223d2a53..83f47c9552032dd43cfd071ceab1585e28d2e162 100644 (file)
@@ -1,5 +1,5 @@
-# Generated at 12/10/2012 07:20:45
-# Don't edit manually. See the source in D:\users\rkv\SIMAN\SIMAN_SRC\Workspace\Siman\conf\templates.
+# Generated at 24/11/2012 09:29:26
+# Don't edit manually. See the source in C:\work\Siman\SIMAN_SRC\Workspace\Siman\conf\templates.
 # Connection properties
 connection.driver_class=com.mysql.jdbc.Driver
 
index bf33af7abdc34662034c7f189b9bc87f2dbae197..5db72d7059133b0311f2870e8eea15d8dc445396 100644 (file)
@@ -1,4 +1,6 @@
-# Connection properties for unit tests
+# Generated at 26/11/2012 09:23:45
+# Don't edit manually. See the source in D:\users\rkv\SIMAN\SIMAN_SRC\Workspace\Siman\conf\templates.
+# Connection properties
 connection.url=jdbc:mysql://localhost/siman_unit_tests
 connection.username=simer
 connection.password=admin
diff --git a/Workspace/Siman-Common/src/test/pg_hibernate.properties b/Workspace/Siman-Common/src/test/pg_hibernate.properties
new file mode 100644 (file)
index 0000000..f4f7d1c
--- /dev/null
@@ -0,0 +1,12 @@
+# Generated at 24/11/2012 09:29:26
+# Don't edit manually. See the source in C:\work\Siman\SIMAN_SRC\Workspace\Siman\conf\templates.
+# Connection properties
+connection.driver_class=org.postgresql.Driver
+
+# Hibernate config
+hibernate.hbm2ddl.auto=update
+hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
+hibernate.current_session_context_class=thread
+
+# Log properties
+hibernate.show_sql=true
diff --git a/Workspace/Siman-Common/src/test/pg_jdbc.properties b/Workspace/Siman-Common/src/test/pg_jdbc.properties
new file mode 100644 (file)
index 0000000..f2dfa97
--- /dev/null
@@ -0,0 +1,7 @@
+# Generated at 24/11/2012 09:29:26
+# Don't edit manually. See the source in C:\work\Siman\SIMAN_SRC\Workspace\Siman\conf\templates.
+# Connection properties
+connection.url=jdbc:postgresql://localhost:5432/siman_unit_tests
+connection.username=simer
+connection.password=admin
+connection.driver_class=org.postgresql.Driver