@@ -188,15 +188,41 @@ public <T> List<T> selectList(String statement, Object parameter) {
188
188
/**
189
189
* {@inheritDoc}
190
190
*/
191
- @ SuppressWarnings ({ "unchecked" })
192
191
public <T > List <T > selectList (final String statement , final Object parameter , final RowBounds rowBounds ) {
193
192
return execute (new SqlSessionCallback <List <T >>() {
193
+ @ SuppressWarnings ({ "unchecked" })
194
194
public List <T > doInSqlSession (SqlSession sqlSession ) {
195
195
return sqlSession .selectList (statement , parameter , rowBounds );
196
196
}
197
197
});
198
198
}
199
199
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
+
200
226
/**
201
227
* {@inheritDoc}
202
228
*/
@@ -281,7 +307,7 @@ public Integer doInSqlSession(SqlSession sqlSession) {
281
307
/**
282
308
* {@inheritDoc}
283
309
*/
284
- @ SuppressWarnings ({ "unchecked" } )
310
+ @ SuppressWarnings ("unchecked" )
285
311
public <T > T getMapper (final Class <T > type ) {
286
312
return (T ) java .lang .reflect .Proxy .newProxyInstance (type .getClassLoader (), new Class <?>[] { type }, new InvocationHandler () {
287
313
public Object invoke (final Object proxy , final Method method , final Object [] args ) throws Throwable {
0 commit comments