ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TimTeague <tea...@burfl.com>
Subject @SelectProducer
Date Fri, 11 Dec 2009 00:09:29 GMT

I am using 3.0.0.202 and I have the following in my mapper file:
    @SelectProvider(type = StatusRequest.class, method =
"getSummarySelectSql")
    List<StatusSummaryItem> selectStatusSummaryItems(StatusRequest req);

I need to have the method run on the instance of StatusRequest that is
passed in to the method (the "req" in the second line). The behavior with
the code above is that a new StatusRequest is created and method is called.
That is not what I want. There seems to be little documentation on this and
I would appreciate some input.

Thanks,
Tim
-- 
View this message in context: http://old.nabble.com/%40SelectProducer-tp26736748p26736748.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


Mime
View raw message