Project

General

Profile

« Previous | Next » 

Revision febf715a

Added by Andreas Müller about 5 years ago

adapt app-import to new AccountStore package

View differences:

cdm-pesi/src/test/java/eu/etaxonomy/cdm/io/common/TestConnection.java
2 2

  
3 3
import java.sql.Connection;
4 4

  
5
import eu.etaxonomy.cdm.common.AccountStore;
6
import eu.etaxonomy.cdm.io.common.Source;
5
import eu.etaxonomy.cdm.config.AccountStore;
7 6

  
8 7
public class TestConnection {
9
	
10
	
8

  
9

  
11 10
	public static void main(String[] args){
12
		
11

  
13 12
		System.out.println("start");
14 13
		Source source = new Source(Source.SQL_SERVER_2008, "localhost", "PESI_v12", true);
15 14
//		Source source = new Source(Source.SQL_SERVER_2008, "(local)", "PESI_v12", "SELECT DISTINCT AreaId FROM Area");
16
		
15

  
17 16
//  	Source source = new Source(Source.SQL_SERVER_2008, "PESIIMPORT3", "PESI_v122", "SELECT DISTINCT AreaId FROM Area");
18 17
//		Source source = new Source(Source.SQL_SERVER_2008, "LENOVO-T61", "globis", "SELECT DISTINCT AreaId FROM Area");
19 18
		String user = "pesiexport";

Also available in: Unified diff