Package com.bleujin.framework.db.bean.handlers

Examples of com.bleujin.framework.db.bean.handlers.MapHandler


  String query = "select * from copy_sample order by no1" ;
 
  public void testMapHandler() throws Exception {
    Rows rows = dc.getRows(query, 10, 1) ;
    Map results = (Map)rows.toHandle(new MapHandler()) ;
   

    assertEquals(2, results.size()) ;

    assertEquals("1", results.get("no1").toString()) ;
View Full Code Here

TOP

Related Classes of com.bleujin.framework.db.bean.handlers.MapHandler

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.