emacarron / mybatis

Automatically exported from code.google.com/p/mybatis
0 stars 0 forks source link

How can i use selectprovier #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the MyBatis are you using?

3.0.2

Please describe the problem.  Unit tests are best!

How can i use selectprovier?

@SelectProvider(type=jhfrk.net.koreantv.data.sql.NoticeSqlProvider.class, 
method="getNoticeList")
    public List<Notice> getNoticeList(int searchType, String query);

and then make provider class..

public class NoticeSqlProvider {

    public String getNoticeList(int searchType, String query){

    }

but argument(parameter) doesn't work. how can i make dynamic query?

What is the expected output? What do you see instead?

able to use parameter selectprovier

Please provide any additional information below.

Original issue reported on code.google.com by ktsh0...@gmail.com on 13 Nov 2010 at 1:52

GoogleCodeExporter commented 9 years ago
This is not a bug.  Please ask questions on the public mail list.

Original comment by jeffgbut...@gmail.com on 12 Dec 2010 at 10:29