Get Entity Field Values as String in Java

The following uses the Apache Commons Lang library that provides the ReflectionToStringBuilder class to assist in the construction of object field values into a single String value. This is quite useful for the viewing all the objects field values and assignments in an easily readable format. The below example uses JDK 1.8 and the Apache […]