Announcement Announcement Module
Collapse
No announcement yet.
Exception expected 1 actual 2 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exception expected 1 actual 2

    dear all,
    I want to retrive the 5 strings in alist using namedparameterjdbctemplate class.
    Exception
    org.springframework.dao.IncorrectResultSizeDataAcc essException: Incorrect result size: expected 1, actual 2


    my code
    String query = "select REV_NAME from T_REVENUE_REV";
    List rev =queryForList(query,String.class);
    return rev;
    I am new to springs plz help
    Last edited by junugari; May 24th, 2011, 03:11 AM.

  • #2
    Duplicat post

    Comment


    • #3
      Dear Martin,
      Thanx for ur advise...
      Last edited by junugari; May 24th, 2011, 05:00 AM.

      Comment

      Working...
      X