... instead of in the sqlmap xml files?

Given this hypothetical sqlmap (without explicit parameterClass and
resultClass):

  <select id="selectAllPersons">
      SELECT [person_id] id
      ,[person_name] name
      ,[person_description] description
       FROM [TBL_person]
  </select>


What do you guys think of the opportunity to delay the choice of specifying
resultClass or parameterClass at the point of call:

queryForList("selectAllPersons", com.MyParameterClass.class,
com.MyResultClass.class);

... as long as the beans (either one of them) support the
methods/properties?

Is that even possible?

Comments?












Reply via email to