Project

General

Profile

« Previous | Next » 

Revision a4947270

Added by Andreas Müller over 7 years ago

ref #3658 remove nomenclaturalCode

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/common/CdmDestinations.java
109 109
	}
110 110

  
111 111
	public static ICdmDataSource localH2(String database, String username, String filePath){
112
		return CdmDataSource.NewH2EmbeddedInstance(database, "sa", "", filePath, null);
112
		return CdmDataSource.NewH2EmbeddedInstance(database, "sa", "", filePath);
113 113
	}
114 114

  
115 115

  
......
173 173
		pwd = AccountStore.readOrStorePassword(cdmServer, cdmDB, cdmUserName, pwd);
174 174
		ICdmDataSource destination;
175 175
		if(dbType.equals(DatabaseTypeEnum.MySQL)){
176
			destination = CdmDataSource.NewMySqlInstance(cdmServer, cdmDB, port, cdmUserName, pwd, null);
176
			destination = CdmDataSource.NewMySqlInstance(cdmServer, cdmDB, port, cdmUserName, pwd);
177 177
		} else if(dbType.equals(DatabaseTypeEnum.PostgreSQL)){
178
			destination = CdmDataSource.NewPostgreSQLInstance(cdmServer, cdmDB, port, cdmUserName, pwd, null);
178
			destination = CdmDataSource.NewPostgreSQLInstance(cdmServer, cdmDB, port, cdmUserName, pwd);
179 179
		} else {
180 180
			//TODO others
181 181
			throw new RuntimeException("Unsupported DatabaseType");

Also available in: Unified diff