@Test
  public void countTest() throws SQLException {
    DatabaseMetaData databaseMetaData =
        pangpangCodeGenerator.getDataSource().getConnection().getMetaData();

    ResultSet resultSet = databaseMetaData.getColumns(null, null, "student", null);
    while (resultSet.next()) {
      int jdbcType = resultSet.getInt("DATA_TYPE");
      String columnName = resultSet.getString("COLUMN_NAME");
      String isAutoincrement = resultSet.getString("IS_AUTOINCREMENT");
      final SqlColumn col =
          new SqlColumn(columnName, jdbcType, StringUtils.equals(isAutoincrement, "YES"));
      System.out.println("----------------");
      System.out.println(jdbcType);
      System.out.println(columnName);
      System.out.println(isAutoincrement);
      System.out.println(col);
    }
    // ResultSet resultSet2 = databaseMetaData.getPrimaryKeys(null, null, "student");

    // System.out.println(resultSet.getRow());
    // System.out.println(resultSet2.getRow());
    // System.out.println(resultSet);
  }
 @Test
 public void testGetSqlColumnsInfo() {
   List list = pangpangCodeGenerator.getSqlColumnsInfo("student");
   System.out.println(list);
 }
 @Test
 public void testGenerate() {
   pangpangCodeGenerator.generate("student", "/usr/local/generate");
 }