
Originally Posted by
hablutzel1
You are right, type handlers shouldn't be used for complex things (i.e. when a bean is required) but consider a scenario where the dao should return a list of beans, and these beans are persisted in a table, but half of the data is in an xml, and maybe some other data required to fully populate the pojo is gathered through a web service. Of course it could be done in DAO classes but don't you think it is a cleaner approach to allow IBatis to manage all of this by its own?