ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Herman Bovens <herman.bov...@gmail.com>
Subject SQL mapping problem
Date Tue, 20 Oct 2009 13:29:10 GMT

I have the following problem:

I'm calling a stored procedure and I'm mapping the columns it returns to the
fields of a domain object. So far so good.  However, the procedure returns
an extra column, which is the same for all rows and is in fact a separate
value that does not belong in the domain object.  For performance reasons it
is returned by the same procedure.
So I would like to create a class that has a property for this value, and a
property which is a list of domain objects (the actual results).  But I
don't know how to create a mapping for this, if it is at all possible?
I'm not sure if/how a custom type handler could be used to solve this.

View this message in context: http://www.nabble.com/SQL-mapping-problem-tp25975109p25975109.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org

View raw message