Added explicit private constructor DBConnection class.
Use loggers for logging opposed to STDOUT.
Formatted code for Sonar compliance.
Added utility method to set prepared statement values opposed to using magic numbers.