From: rkv Date: Mon, 26 Nov 2012 08:40:44 +0000 (+0000) Subject: Properties for PostgresDB are introduced. X-Git-Tag: Root_Delivery1_2012_12_06~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be0629b79f32344c1a12dd4cfa635cd3ad598dd0;p=tools%2Fsiman.git Properties for PostgresDB are introduced. --- diff --git a/Workspace/Siman-Common/src/test/hibernate.properties b/Workspace/Siman-Common/src/test/hibernate.properties index 94db428..83f47c9 100644 --- a/Workspace/Siman-Common/src/test/hibernate.properties +++ b/Workspace/Siman-Common/src/test/hibernate.properties @@ -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 diff --git a/Workspace/Siman-Common/src/test/jdbc.properties b/Workspace/Siman-Common/src/test/jdbc.properties index bf33af7..5db72d7 100644 --- a/Workspace/Siman-Common/src/test/jdbc.properties +++ b/Workspace/Siman-Common/src/test/jdbc.properties @@ -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 index 0000000..f4f7d1c --- /dev/null +++ b/Workspace/Siman-Common/src/test/pg_hibernate.properties @@ -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 index 0000000..f2dfa97 --- /dev/null +++ b/Workspace/Siman-Common/src/test/pg_jdbc.properties @@ -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