Giter VIP home page Giter VIP logo

Comments (1)

qwazer avatar qwazer commented on August 27, 2024
Index: .gitignore
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- .gitignore  (date 1435652568000)
+++ .gitignore  (date 1435656822000)
@@ -56,3 +56,5 @@
 crashlytics-build.properties


+
+temp_ignore
\ No newline at end of file
Index: src/main/java/com/github/table2sql/db2/Application.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/main/java/com/github/table2sql/db2/Application.java (date 1435652568000)
+++ src/main/java/com/github/table2sql/db2/Application.java (date 1435656822000)
@@ -26,8 +26,11 @@
     @Value("#{'${tableNames}'.split(',')}")
     private List<String> tableNames;

+    @Value("#{'${excludesTableNames}'.split(',')}")
+    private List<String> excludesTableNames;


+
     public static void main(String[] args) throws Exception {
         SpringApplication.run(Application.class, args);
     }
@@ -41,6 +44,7 @@
         List<String> list = tableNamesDao.findTableNames();

         list.addAll(tableNames);
+        list.removeAll(excludesTableNames);

         for (String tableName : list) {
             tableDataProcessor.readTableDataAndSaveToFile(tableName);
Index: src/main/resources/application.properties
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>NATIVE_TO_ASCII_windows-1251
===================================================================
--- src/main/resources/application.properties   (date 1435652568000)
+++ src/main/resources/application.properties   (date 1435656822000)
@@ -6,5 +6,6 @@
 file.name.template=./{schema}/tabledata/{tablename}.inserts.sql
 max.rows.size=1000
 tableNames=SYSIBM.TABLES, SYSIBM.VIEWS, SAMPLE.MAIN_TABLE
+excludesTableNames=
 query.to.find.tableNames.enable=false
 query.to.find.tableNames=select table_schema || '.' || TABLE_NAME from SYSIBM.TABLES WHERE TABLE_SCHEMA='COMMON'
\ No newline at end of file

from db2-table2sql.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.