ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micky Williamson <mic...@williamsonhouse.com>
Subject Select Provider
Date Fri, 11 Dec 2009 06:19:24 GMT
I found your name in the docs for ibatis and was wondering if you  
could help us.  We are using the selectProvider annotation but can't  
find any good examples using objects as parameters....

     @SelectProvider(type = StatusRequest.class, method =  
     List<StatusSummaryItem> selectStatusSummaryItems(StatusRequest  

With the above example, we would like to have the StatusRequest object  
be a parameter to the getSummarySelectSql method...but just putting  
the object in like getSummarySelectSql(req) throws a null pointer....
Could you point us at a better example?  The docs don't have any  


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

View raw message