From e1e31bd0a6c54038af73565ea4d4362be9625fd6 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Mon, 7 Oct 2013 17:00:53 +0200 Subject: [PATCH] Format code. Fix request. --- src/fr/devinsy/sikevadb/SQLSikevaDB.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/fr/devinsy/sikevadb/SQLSikevaDB.java b/src/fr/devinsy/sikevadb/SQLSikevaDB.java index 238b477..f1db62e 100644 --- a/src/fr/devinsy/sikevadb/SQLSikevaDB.java +++ b/src/fr/devinsy/sikevadb/SQLSikevaDB.java @@ -960,7 +960,7 @@ public class SQLSikevaDB implements SikevaDB { } public String getContextName() { - return contextName; + return this.contextName; } /** @@ -968,7 +968,7 @@ public class SQLSikevaDB implements SikevaDB { * @return */ public String getDriverClassname() { - return driverClassname; + return this.driverClassname; } /** @@ -1208,11 +1208,11 @@ public class SQLSikevaDB implements SikevaDB { } public String getLogin() { - return login; + return this.login; } public String getPassword() { - return password; + return this.password; } /** @@ -1251,7 +1251,7 @@ public class SQLSikevaDB implements SikevaDB { } public String getUrl() { - return url; + return this.url; } /** @@ -1356,7 +1356,8 @@ public class SQLSikevaDB implements SikevaDB { try { connection = getConnection(); connection.setAutoCommit(true); - statement = connection.prepareStatement("SELECT VALUE FROM elements WHERE ARCHIVE_DATE IS NULL AND TOPKEY=? ORDER BY ARCHIVE_DATE ASC"); + statement = connection + .prepareStatement("SELECT VALUE,CREATION_DATE FROM elements WHERE ARCHIVE_DATE IS NULL AND TOPKEY=? ORDER BY CREATION_DATE ASC"); statement.setString(1, key); resultSet = statement.executeQuery();