Revision 46dba369
Added by Andreas Kohlbecker over 9 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/CdmUpdater.java | ||
---|---|---|
254 | 254 |
} |
255 | 255 |
System.out.println("Number of databases to update: " + databaseNames.length); |
256 | 256 |
for(String dnName : databaseNames){ |
257 |
System.out.println(dnName + " UPDATE ..."); |
|
257 | 258 |
ICdmDataSource dataSource = CdmDataSource.NewMySqlInstance(server, dnName, port, username, password, null); |
258 | 259 |
boolean success = myUpdater.updateToCurrentVersion(dataSource, null); |
259 |
System.out.println("DONE " + (success ? "successfully" : "with ERRORS")); |
|
260 |
System.out.println(dnName + " DONE " + (success ? "successfully" : "with ERRORS")); |
|
261 |
System.out.println("===================================================================="); |
|
260 | 262 |
|
261 | 263 |
} |
262 | 264 |
} |
Also available in: Unified diff
more logging output