-
Mar 31st, 2009, 03:44 AM
#1
RowMapper issues
I am executing a DB Stored procedure which returns some values which I want to populate in a java bean (which also has other java object as one of the property).I dont know how to set the values from stroed procedure into the embeded object.I am able to set the top level class properties.
I am using something like this:
returningResultSet("PersonList", TrimmingBeanPropertyRowMapper.newInstance(PersonBe an.class)).
where :
1) TrimmingBeanPropertyRowMapper<T> extends BeanPropertyRowMapper implements ParameterizedRowMapper<T>
2)PersonBean is having Address class object as a property.
3)Procedure return Line1 ,Line2 ..etc address details which are part od Address class , and I want to set the value of these fileds too???
PropertyEditor could be used for this type of scenarios if yes how???
It's urgent
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules