forked from palych-piter/Excel2DB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
excel2db.properties
43 lines (33 loc) · 1.25 KB
/
excel2db.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
#db implementation: Postgres, Oracle, MongoDB, Derby
#use Derby if you run Unit tests and have no Postgres and Oracle installed on you laptop
#in this case the Derby In-Memory database will be created and used during
#the UnitTest execution
db.implementation=MongoDB
# names of input files
input.files=test.xlsx
# postgres connection parameters
db.server=localhost
db.database=excel2db
db.port=5433
db.user=postgres
db.password=postgres
# oracle connection parameters
db.oracle.server=localhost
# specify sid or SERVICE NAME here
db.oracle.sid=xe
db.oracle.port=1521
db.oracle.user=oracle
db.oracle.password=oracle
# mongo connection parameters
db.mongo.server=localhost
db.mongo.database=test
db.mongo.port=27017
db.mongo.user=mongo
db.mongo.password=mongo
# DON'T TOUCH :
# set db implementation classes based on the db.implementation
dbConnectionImplenentation=excel2db.service.impl.DBConnection${db.implementation}Impl
closeConnectionImplenentation=excel2db.service.impl.CloseConnection${db.implementation}Impl
createTableImplenentation=excel2db.service.impl.CreateTable${db.implementation}Impl
populateTableImplenentation=excel2db.service.impl.PopulateTable${db.implementation}Impl
getFirstRowImplenentation=excel2db.service.impl.GetFirstRow${db.implementation}Impl