lib/java: JdbcStore: use Java 7 constructs