Project

General

Profile

« Previous | Next » 

Revision 6c5263e1

Added by Andreas Müller over 3 years ago

cleanup

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/LocalH2.java
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
*/
9

  
10 9
package eu.etaxonomy.cdm.database;
11 10

  
12 11
import java.io.File;
......
27 26

  
28 27
import eu.etaxonomy.cdm.api.application.CdmApplicationUtils;
29 28

  
30

  
31 29
/**
32 30
 * @author a.mueller
33 31
 *
34 32
 * IN WORK
35 33
 *
36 34
 */
37

  
38 35
public class LocalH2 extends BasicDataSource {
39 36
	private static final Logger logger = Logger.getLogger(LocalH2.class);
40 37

  
......
56 53
	protected String DEFAULT_DRIVER_CLASS_NAME = "org.h2.Driver";
57 54
	String mode = H2Mode.EMBEDDED.toString();
58 55

  
59
	/**
60
	 *
61
	 */
62 56
	public LocalH2() {
63 57
		setDriverClassName(DEFAULT_DRIVER_CLASS_NAME);
64 58
		setLocalUrl();
cdmlib-services/src/test/java/eu/etaxonomy/cdm/test/function/TestAggregations.java
16 16
import org.apache.log4j.Logger;
17 17

  
18 18
import eu.etaxonomy.cdm.api.application.CdmApplicationController;
19
import eu.etaxonomy.cdm.api.service.description.DistributionAggregationConfiguration;
20 19
import eu.etaxonomy.cdm.api.service.description.AggregationMode;
21 20
import eu.etaxonomy.cdm.api.service.description.AggregationSourceMode;
21
import eu.etaxonomy.cdm.api.service.description.DistributionAggregationConfiguration;
22 22
import eu.etaxonomy.cdm.api.service.pager.Pager;
23 23
import eu.etaxonomy.cdm.common.monitor.DefaultProgressMonitor;
24 24
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
......
83 83
//
84 84
//		//H2
85 85
//        String path = "C:\\Users\\a.mueller\\.cdmLibrary\\writableResources\\h2\\LocalH2";
86
////		String path = "C:\\Users\\pesiimport\\.cdmLibrary\\writableResources\\h2\\LocalH2";
87 86
////      String path = "C:\\Users\\a.mueller\\eclipse\\svn\\cdmlib-trunk\\cdmlib-remote-webapp\\src\\test\\resources\\h2";
88 87
//		username = "sa";
89 88
//    	dataSource = CdmDataSource.NewH2EmbeddedInstance("cdm", username, "", path);

Also available in: Unified diff