title: Mybatis error : The error occurred while setting parameters
body: <pre><code>org.apache.ibatis.exceptions.PersistenceException: 
  ### Error querying database.  Cause: java.lang.UnsupportedOperationException
  ### The error may exist in kr/co/techinmotion/mybatis/mappers/dataOutputMapper.xml
  ### The error may involve kr.co.techinmotion.mybatis.mappers.dataOutputMapper.selectData1-Inline
  ### The error occurred while setting parameters
  ### SQL: select * from tbl_id, tbl_feed     where tbl_id.id = tbl_feed.upid     and tbl_id.token = ?
  ### Cause: java.lang.UnsupportedOperationException
  at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23)
  at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:107)
  at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:98)
  at kr.co.techinmotion.daoImpl.DataDaoImplMybatis.selectData1(DataDaoImplMybatis.java:47)
  </code></pre>
  
  <p>I don't know why this error occurred.</p>
  
  <p>This is my sql in mapper.</p>
  
  <pre><code>&lt;select id="selectData1" parameterType="string" resultType="list"&gt;
      select * from tbl_id, tbl_feed  
      where tbl_id.id = tbl_feed.upid  
      and tbl_id.token = #{token}
  &lt;/select&gt;
  </code></pre>
  
  <p>and.. this is DAO.</p>
  
  <pre><code>public class DataDaoImplMybatis implements IdataDao {
  
      private DataDaoImplMybatis(){}
  
      private static DataDaoImplMybatis dao;
  
      public static DataDaoImplMybatis getInstance(){
          if(dao == null){
              dao = new DataDaoImplMybatis();
          }
  
          return dao;
      }
  
      SqlSessionFactory sessionFactory = SqlMapSessionFactory.getSqlSessionFactory();
  
      @Override
      public List&lt;DataResult1&gt; selectData1(String token){
          SqlSession session = sessionFactory.openSession();
          List&lt;DataResult1&gt; list = session.selectList("kr.co.techinmotion.mybatis.mappers.dataOutputMapper.selectData1", token);
          session.close();
  
          return list;
      }
  
  }
  </code></pre>
  
  <p>please help me.. T_T</p>