Project

General

Profile

« Previous | Next » 

Revision 9f2a0391

Added by Andreas Müller over 6 years ago

cleanup

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/types/SqlServer2000DatabaseType.java
1 1
/**
2 2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy 
3
* European Distributed Institute of Taxonomy
4 4
* http://www.e-taxonomy.eu
5
* 
5
*
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
......
17 17
 *
18 18
 */
19 19
public class SqlServer2000DatabaseType extends SqlServer2005DatabaseType {
20
    
20

  
21 21
 	//name
22 22
	//protected String typeName = "SQL Server";
23
	
23

  
24 24
	//driver class
25 25
	//protected String classString = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
26
    
26

  
27 27
	//url
28 28
//	protected String urlString = "jdbc:microsoft:sqlserver://";
29
    
29

  
30 30
    //hibernate dialect
31 31
   // private String hibernateDialect = "SQLServerDialect";
32
    
32

  
33
    @Override
33 34
    public String getConnectionString(ICdmDataSource ds, int port, String instanceName){
34 35
    	//TODO check if instances exist for SQL Server 2000
35 36
    	return super.getConnectionString(ds, port, instanceName);
36 37
    }
37
    
38

  
38 39
	//Constructor
39 40
    public SqlServer2000DatabaseType() {
40 41
    	init (typeName, classString, urlString, defaultPort,  hibernateDialect );
41 42
	}
42
    
43

  
44 43

  
45 44
}

Also available in: Unified diff