@@ -188,15 +188,41 @@ public <T> List<T> selectList(String statement, Object parameter) {
188188 /**
189189 * {@inheritDoc}
190190 */
191- @ SuppressWarnings ({ "unchecked" })
192191 public <T > List <T > selectList (final String statement , final Object parameter , final RowBounds rowBounds ) {
193192 return execute (new SqlSessionCallback <List <T >>() {
193+ @ SuppressWarnings ({ "unchecked" })
194194 public List <T > doInSqlSession (SqlSession sqlSession ) {
195195 return sqlSession .selectList (statement , parameter , rowBounds );
196196 }
197197 });
198198 }
199199
200+ // /**
201+ // * {@inheritDoc}
202+ // */
203+ // public <K, T> Map<K, T> selectMap(final String statement, final String mapKey) {
204+ // return selectMap(statement, null, mapKey);
205+ // }
206+ //
207+ // /**
208+ // * {@inheritDoc}
209+ // */
210+ // public <K, T> Map<K, T> selectMap(final String statement, final Object parameter, final String mapKey) {
211+ // return selectMap(statement, null, mapKey, RowBounds.DEFAULT);
212+ // }
213+ //
214+ // /**
215+ // * {@inheritDoc}
216+ // */
217+ // public <K, T> Map<K, T> selectMap(final String statement, final Object parameter, final String mapKey, final RowBounds rowBounds) {
218+ // return execute(new SqlSessionCallback<Map<K, T>>() {
219+ // @SuppressWarnings("unchecked")
220+ // public Map<K, T> doInSqlSession(SqlSession sqlSession) {
221+ // return sqlSession.selectMap(statement, parameter, mapKey, rowBounds);
222+ // }
223+ // });
224+ // }
225+
200226 /**
201227 * {@inheritDoc}
202228 */
@@ -281,7 +307,7 @@ public Integer doInSqlSession(SqlSession sqlSession) {
281307 /**
282308 * {@inheritDoc}
283309 */
284- @ SuppressWarnings ({ "unchecked" } )
310+ @ SuppressWarnings ("unchecked" )
285311 public <T > T getMapper (final Class <T > type ) {
286312 return (T ) java .lang .reflect .Proxy .newProxyInstance (type .getClassLoader (), new Class <?>[] { type }, new InvocationHandler () {
287313 public Object invoke (final Object proxy , final Method method , final Object [] args ) throws Throwable {
0 commit comments