You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by de...@apache.org on 2022/03/02 08:42:27 UTC

[empire-db] branch master updated: Samples

This is an automated email from the ASF dual-hosted git repository.

derjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new b47eb5c  Samples
b47eb5c is described below

commit b47eb5c00fe63787f60efafc01920c14c130510b
Author: Jan Glaubitz <ja...@glaubitz.org>
AuthorDate: Wed Mar 2 09:42:14 2022 +0100

    Samples
    
    - better postgres example settings
---
 empire-db-examples/empire-db-example-advanced/config.xml | 10 +++++-----
 empire-db-examples/empire-db-example-basic/config.xml    | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/empire-db-examples/empire-db-example-advanced/config.xml b/empire-db-examples/empire-db-example-advanced/config.xml
index 13b8688..3dc3f20 100644
--- a/empire-db-examples/empire-db-example-advanced/config.xml
+++ b/empire-db-examples/empire-db-example-advanced/config.xml
@@ -21,7 +21,7 @@
 
 	<properties>
 		<!-- provider name must match the property-section containing the connection data -->
-		<databaseProvider>hsqldb</databaseProvider>
+		<databaseProvider>postgresql</databaseProvider>
 	</properties>
 
 	<properties-hsqldb>
@@ -56,13 +56,13 @@
 		<!-- JDBC properties for a PostreSQL Database connection -->
 		<!-- Required jar file: postgresql-8.3-603.jdbc4.jar -->
 		<jdbcClass>org.postgresql.Driver</jdbcClass>
-		<jdbcURL>jdbc:postgresql://localhost</jdbcURL>
-		<jdbcUser>postgres</jdbcUser>
-		<jdbcPwd>postgres</jdbcPwd>
+		<jdbcURL>jdbc:postgresql://localhost/dbsampleadv</jdbcURL>
+		<jdbcUser>dbsample</jdbcUser>
+		<jdbcPwd>DBSAMPLE</jdbcPwd>
 		<!-- Empire-db driver configuration -->
 		<dbmsHandlerClass>org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL</dbmsHandlerClass>
 		<dbmsHandlerProperites>
-			<databaseName>DBSAMPLEADV</databaseName>
+			<!-- no properties -->
 		</dbmsHandlerProperites>
 	</properties-postgresql>
 	
diff --git a/empire-db-examples/empire-db-example-basic/config.xml b/empire-db-examples/empire-db-example-basic/config.xml
index 3e6bfee..c1c7b88 100644
--- a/empire-db-examples/empire-db-example-basic/config.xml
+++ b/empire-db-examples/empire-db-example-basic/config.xml
@@ -21,7 +21,7 @@
 
 	<properties>
 		<!-- provider name must match the property-section containing the connection data -->
-		<databaseProvider>hsqldb</databaseProvider>
+		<databaseProvider>postgresql</databaseProvider>
 	</properties>
 
 	<properties-hsqldb>
@@ -56,13 +56,13 @@
 		<!-- JDBC properties for a PostreSQL Database connection -->
 		<!-- Required jar file: postgresql-8.3-603.jdbc4.jar -->
 		<jdbcClass>org.postgresql.Driver</jdbcClass>
-		<jdbcURL>jdbc:postgresql://localhost</jdbcURL>
-		<jdbcUser>postgres</jdbcUser>
-		<jdbcPwd>postgres</jdbcPwd>
+		<jdbcURL>jdbc:postgresql://localhost/dbsample</jdbcURL>
+		<jdbcUser>dbsample</jdbcUser>
+		<jdbcPwd>DBSAMPLE</jdbcPwd>
 		<!-- Empire-db driver configuration -->
 		<dbmsHandlerClass>org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL</dbmsHandlerClass>
 		<dbmsHandlerProperites>
-			<databaseName>DBSAMPLE</databaseName>
+			<!-- no properties -->
 		</dbmsHandlerProperites>
 	</properties-postgresql>