diff --git a/README.md b/README.md index eb19c4d..c2f8845 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The eclipse microprofile config framework is a simple yet powerful configuration ch.carve mp-config-db - 0.6 + 0.7 ``` diff --git a/pom.xml b/pom.xml index 07cd8c1..f2d48f3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 ch.carve mp-config-db - 0.7-SNAPSHOT + 0.7 jar mp-config-db ConfigurationSource for eclipse microprofile config based on a database diff --git a/src/main/java/ch/carve/microprofile/config/db/Repository.java b/src/main/java/ch/carve/microprofile/config/db/Repository.java index a0ad548..44b3448 100644 --- a/src/main/java/ch/carve/microprofile/config/db/Repository.java +++ b/src/main/java/ch/carve/microprofile/config/db/Repository.java @@ -71,7 +71,7 @@ public synchronized String getConfigValue(String key) throws SQLException { private DataSource getDatasource(String jndi) { try { - return (DataSource) InitialContext.doLookup(jndi); + return InitialContext.doLookup(jndi); } catch (NamingException e) { log.warn("Could not get datasource: " + e.getMessage()); return null;