Comments (1)
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)
- output dir HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from db2-table2sql.