Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.db / org.gvsig.fmap.dal.db.jdbc / src / main / java / org / gvsig / fmap / dal / store / jdbc / JDBCConnectionParameters.java @ 45507

History | View | Annotate | Download (2.29 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.fmap.dal.store.jdbc;
25

    
26
import org.gvsig.fmap.dal.serverexplorer.db.DBConnectionParameter;
27

    
28
/**
29
 * Interface JDBC Store Parameters
30
 *
31
 * @author jmvivo
32
 *
33
 */
34
public interface JDBCConnectionParameters extends DBConnectionParameter {
35

    
36
        /**
37
         * Parameter name for <code>JDBC driver class name</code>
38
         */
39
        public static final String JDBC_DRIVER_CLASS_PARAMTER_NAME = "jdbcdriverclass";
40

    
41
        /**
42
         * Parameter name for <code>catalog</code> 
43
         */
44
        public static final String CATALOG_PARAMTER_NAME = "catalog";
45

    
46
        /**
47
         * Parameter name for <code>schema</code> 
48
         */
49
        public static final String SCHEMA_PARAMTER_NAME = "schema";
50

    
51
        /**
52
         * Parameter name for <code>JDBC connection URL</code>
53
         */
54
        public static final String URL_PARAMTER_NAME = "url";
55

    
56
        public static final String BATCH_SIZE_PARAMETER_NAME = "batchSize";
57
        
58
        public static final int DEFAULT_BATCH_SIZE = 500;
59
        
60
        /**
61
         * Return <code>JDBC driver class name</code> parameter
62
         *
63
         * @return
64
         */
65
        public String getJDBCDriverClassName();
66

    
67
        /**
68
         * Return <code>catalog</code> parameter
69
         *
70
         * @return
71
         */
72
        public String getCatalog();
73

    
74
        /**
75
         * Return <code>schema</code> parameter
76
         *
77
         * @return
78
         */
79
        public String getSchema();
80

    
81
        /**
82
         * Return <code>JDBC connection URL</code> parameter
83
         * 
84
         * @return
85
         */
86
        public String getUrl();
87
        
88
        public int getBatchSize();
89
        
90

    
91
}