Package org.apache.ctakes.jdl

Examples of org.apache.ctakes.jdl.AppJdl


    assumeThat(PropFileMaps.DEMO, is(true));
    demo();
  }

  public static void demo() throws JAXBException, InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {
    AppJdl appJdl;
    Connection connection = jdlConnection.getOpenConnection();
    SqlJdl.create(connection);
    // csv
    appJdl = new AppJdl(CX, D2C, L2C);
    appJdl.execute();
    SqlJdl.select(connection, true);
    SqlJdl.delete(connection);
    // xml
    appJdl = new AppJdl(CX, D2X, L2X);
    appJdl.execute();
    SqlJdl.select(connection, true);
    SqlJdl.delete(connection);
    // clear
    SqlJdl.drop(connection);
    jdlConnection.closeConnection();
View Full Code Here

TOP

Related Classes of org.apache.ctakes.jdl.AppJdl

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.