Package net.mlw.vlh.adapter.jdbc.util

Examples of net.mlw.vlh.adapter.jdbc.util.ResultSetMapGenerator


   public List processResultSet(String name, ResultSet result, int numberPerPage, ValueListInfo info) throws SQLException
   {
      List list = new ArrayList();

      ResultSetMapGenerator bg = new ResultSetMapGenerator(result, isUseName(), isLowerCase());
      for (int i = 0; result.next() && i < numberPerPage; i++)
      {
         try
         {
            Map properties = bg.generateMap();
            list.add(BeanCreator.createBeanFromMap(properties));
         }
         catch (Exception e)
         {
            LOGGER.error(e);
View Full Code Here

TOP

Related Classes of net.mlw.vlh.adapter.jdbc.util.ResultSetMapGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.