Announcement Announcement Module
No announcement yet.
Reading bean class data for DAO's Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reading bean class data for DAO's

    I have regular beans (Longs, Strings, Dates, etc...) and the standard getters/setters.

    Is there an automatic way to copy the current data to an object array suitable for calls to "getJdbcTemplate().query(sql, <arg data>, ...)" ? I also will not know how many things to copy. I'm thinking something like running all of the getters, but I don't know how that would be done.

    I'm relatively new to Spring (6-9 mos.) so I can easily be missing a glaring, popular part of Spring functionality.

    Thanks in advance.