Does jdbcTemplate support mapping of complex objects?
PHPz
PHPz 2017-05-17 09:58:27
0
1
659
public class User{ public String name; public List phones; } public class Phone{ public String name; }

Can I use jdbcTemplate to map the result set to the above complex objects (that is, an object is also associated with an object or a collection of objects)? If you don't use mybatis or hibernate, is there any other way to facilitate mapping?

PHPz
PHPz

学习是最好的投资!

reply all (1)
刘奇

jdbcTemplate is for JDBC, which is different from the ORM framework and requires manual programming!

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!