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:52 UTC

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

backport: fix postgres validation query (MARMOTTA-498)

(cherry picked from commit dfde1a8ea61dbbd43318af63b7278d42beddc38d)
Signed-off-by: Jakob Frank <ja...@apache.org>


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

Branch: refs/heads/ldp
Commit: 9198e978cc3f5f6c2432083a7d050e81134a4cf3
Parents: 5e385b5
Author: Sebastian Schaffert <ss...@apache.org>
Authored: Thu May 15 15:16:53 2014 +0200
Committer: Jakob Frank <ja...@apache.org>
Committed: Mon May 19 14:45:27 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/9198e978/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;";
     }
 
     /**