-
Notifications
You must be signed in to change notification settings - Fork 0
/
derbydump.properties
48 lines (36 loc) · 1.48 KB
/
derbydump.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
##### Property file for DerbyDump #####
## Database access ##
# Choice 1: embedded derby
# Use this when you have a derby database folder
# and no other Derby engine is currently accessing this database
db.driverClassName = org.apache.derby.jdbc.ClientDriver
db.derbyDbPath = //localhost:1527/mgdb
# Choice 2: network derby
# Use this when you already have a running Derby server
# db.driverClassName = org.apache.derby.jdbc.ClientDriver
# db.derbyDbPath = localhost/databasePath
db.pgDriverClassName = org.postresql.Driver
db.pgDbPath=//192.168.1.26:5432/mgtest
## Database details ##
db.schemaName = MG
db.userName = mg
db.password = 123456
## Internal options ##
# buffer size in kB. Must be larger than the largest row. defaults to 8912
dump.buffer.size = 8912
## Output options ##
# Path to where you want the output file written
outputPath = derbyDumpOutput.sql
# Whether to add truncate table statements before inserting data, defaults to false
output.truncateTables = true
# Path to a file which contains a list of table names to rewrite in the output
# The file should have one table per line as:
# OriginaltableName = NewTableName
#
# This can be very useful to fix the case of table names, such as when exporting to
# mysql. Since the left hand side is matches case insensitively, you can write
# Contact = Contact
# in order to output the Derby table CONTACT as "Contact"
#
# If the right side is "--exclude--" then this table is not included in the output
tableRewritePath = tableRewrite.txt