In Java - How to map resultSet into a complex object?

前端 未结 4 1250
生来不讨喜
生来不讨喜 2021-01-24 02:12

How can I map a resultset from a few tables into a complex object? let me elaborate:

Lets say I have these 2 classes:

public class User {
    private int         


        
4条回答
提交回复
热议问题