How to convert ResultSet object to one specific POJO class object?
问题 For example i have a Resultset which contain Details about Employee details and I have a table For Employee in database and i am selecting all details from that I have java POJO class which resembles Employee Table what is the best method to implement convert result set into Employee class object what is the best way to implement if i have multiple classes Like Employee and multiple tables too how to write a reusable code. I am Using following notation now. public Employee{ private int empId;