@Test public void testGenerate() { boolean useDefault = false; generationCodeJDBC.generate("cn.org.zeronote.modules.plugin.admin.po", "/Test/services", useDefault); }
@Override public void generate(String pack, String outputFolder, boolean useDefault) { try { List<Table> tables = gainTables(); buildSource(pack, outputFolder, tables, useDefault); } catch (Exception e) { logger.error("build source error!", e); } }
GenerationCodeJDBC implements IGenerationCode { @Override public void generate(String pack, String outputFolder, boolean useDefault) { try { List<Table> tables = gainTables(); buildSource(pack, outputFolder, tables, useDefault); } catch (Exception e) { logger.error("build source error!", e); } } }
GenerationCodeJDBC implements IGenerationCode { @Override public void generate(String pack, String outputFolder, boolean useDefault) { try { List<Table> tables = gainTables(); buildSource(pack, outputFolder, tables, useDefault); } catch (Exception e) { logger.error("build source error!", e); } } GenerationCodeJDBC(); }
GenerationCodeJDBC implements IGenerationCode { @Override public void generate(String pack, String outputFolder, boolean useDefault) { try { List<Table> tables = gainTables(); buildSource(pack, outputFolder, tables, useDefault); } catch (Exception e) { logger.error("build source error!", e); } } GenerationCodeJDBC(); @Override void generate(String pack, String outputFolder, boolean useDefault); @Override void generatePrefix(String prefix, String pack, String outputFolder, boolean useDefault); @Override void generateTable(String tableName, String pack, String outputFolder, boolean useDefault); void setDataSource(DataSource dataSource); void setXADataSource(XADataSource dataSource); void setConnection(Connection connection); }
GenerationCodeJDBC implements IGenerationCode { @Override public void generate(String pack, String outputFolder, boolean useDefault) { try { List<Table> tables = gainTables(); buildSource(pack, outputFolder, tables, useDefault); } catch (Exception e) { logger.error("build source error!", e); } } GenerationCodeJDBC(); @Override void generate(String pack, String outputFolder, boolean useDefault); @Override void generatePrefix(String prefix, String pack, String outputFolder, boolean useDefault); @Override void generateTable(String tableName, String pack, String outputFolder, boolean useDefault); void setDataSource(DataSource dataSource); void setXADataSource(XADataSource dataSource); void setConnection(Connection connection);  }