Package src

Examples of src.TurmaMigration.execute()


  public void testExecute() throws Exception {
    Migrator migration = new TurmaMigration(Context.getSourceConnection(),Context.getDestinationConnection());
    ResultSet rs = migration.getResultSet();
    rs.next();
   
    migration.execute(rs);
   
    Statement stm = (Statement) Context.getDestinationConnection().createStatement();
    ResultSet rs2 = (ResultSet) stm.executeQuery("SELECT id FROM TURMA WHERE id = " + rs.getLong(1));
    rs2.next();
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.