You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2014/06/13 10:58:49 UTC

[089/100] [abbrv] git commit: fix postgres validation query (MARMOTTA-498)

fix postgres validation query (MARMOTTA-498)


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/dfde1a8e
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/dfde1a8e
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/dfde1a8e

Branch: refs/heads/ldp
Commit: dfde1a8ea61dbbd43318af63b7278d42beddc38d
Parents: 2c78494
Author: Sebastian Schaffert <ss...@apache.org>
Authored: Thu May 15 15:16:53 2014 +0200
Committer: Sebastian Schaffert <ss...@apache.org>
Committed: Thu May 15 15:16:53 2014 +0200

----------------------------------------------------------------------
 .../apache/marmotta/kiwi/persistence/pgsql/PostgreSQLDialect.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/dfde1a8e/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/pgsql/PostgreSQLDialect.java
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/pgsql/PostgreSQLDialect.java b/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/pgsql/PostgreSQLDialect.java
index b5ed078..556a5d5 100644
--- a/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/pgsql/PostgreSQLDialect.java
+++ b/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/pgsql/PostgreSQLDialect.java
@@ -131,7 +131,7 @@ public class PostgreSQLDialect extends KiWiDialect {
      */
     @Override
     public String getValidationQuery() {
-        return "SELECT 1";
+        return "SELECT 1; COMMIT;";
     }
 
     /**