ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdullah Kauchali" <abdullah.kauch...@isanusi.com>
Subject Can we do with specifying resultClass and parameterClass at runtime?
Date Tue, 30 Jan 2007 18:49:19 GMT
... instead of in the sqlmap xml files?

Given this hypothetical sqlmap (without explicit parameterClass and

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

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,

... as long as the beans (either one of them) support the

Is that even possible?


View raw message