Proof of concept for database interaction using new features in Java 8