Package com.bleujin.framework.db

Examples of com.bleujin.framework.db.NRows


    }
  }
 
  public void testException() throws Exception {
    Rows rows = dc.createUserCommand("select * from dual").execQuery() ;
    NRows nr = new NRows(rows, new RuntimeException("Exception occured. Confirm cause[ex.getCause()]")) ;
   
    nr.next() ;
    try {
      nr.getString("abc") ;
      fail() ;
    } catch(RuntimeException e){
      assertTrue(e.getCause() instanceof SQLException) ;
    }
  }
View Full Code Here

TOP

Related Classes of com.bleujin.framework.db.NRows

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.