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();