Revision f7a81587
Added by Andreas Müller over 11 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/common/CdmImportSources.java | ||
---|---|---|
27 | 27 |
@SuppressWarnings("unused") |
28 | 28 |
private static final Logger logger = Logger.getLogger(CdmImportSources.class); |
29 | 29 |
|
30 |
|
|
31 |
public static Source AFRICA_CHECKLIST_ACCESS(){ |
|
32 |
// |
|
33 |
String dbms = Source.ACCESS; |
|
34 |
String strServer = null; |
|
35 |
//String strDB = "fernsTest"; |
|
36 |
String strDB = "C:\\localCopy\\Data\\eflora\\africa\\checklist\\checklist_flore_afrique_centrale_corr.mdb"; |
|
30 |
public static Source ROTE_LISTE_DB(){ |
|
31 |
String dbms = Source.ORACLE; |
|
32 |
String strServer = "xxx"; |
|
33 |
String strDB = "dbName"; |
|
37 | 34 |
int port = 1433; |
38 |
String userName = ""; |
|
35 |
String userName = "adam";
|
|
39 | 36 |
return makeSource(dbms, strServer, strDB, port, userName, null); |
40 | 37 |
} |
41 | 38 |
|
42 | 39 |
|
43 |
public static Source AFRICA_FERNS_ACCESS(){ |
|
44 |
// |
|
45 |
String dbms = Source.ACCESS; |
|
46 |
String strServer = null; |
|
47 |
//String strDB = "fernsTest"; |
|
48 |
String strDB = "C:\\localCopy\\Data\\eflora\\africa\\ferns\\Synopsis_Database_corrected.mdb"; |
|
49 |
int port = 1433; |
|
50 |
String userName = ""; |
|
51 |
return makeSource(dbms, strServer, strDB, port, userName, null); |
|
52 |
} |
|
53 |
|
|
54 | 40 |
public static Source GLOBIS(){ |
55 | 41 |
String dbms = Source.SQL_SERVER_2005; |
56 | 42 |
String strServer = "LENOVO-T61"; |
57 | 43 |
String strDB = "globis"; |
58 |
int port = 1433;
|
|
59 |
String userName = "adam";
|
|
44 |
int port = 0001;
|
|
45 |
String userName = "user";
|
|
60 | 46 |
return makeSource(dbms, strServer, strDB, port, userName, null); |
61 | 47 |
} |
62 | 48 |
|
Also available in: Unified diff
minor