Revision 24491 branches/v2_0_0_prep/libraries/libFMap_daldb/src/org/gvsig/fmap/data/feature/db/jdbc/postgresqlbin/PostgresqlBinResource.java
PostgresqlBinResource.java | ||
---|---|---|
33 | 33 |
import java.sql.Connection; |
34 | 34 |
import java.sql.DriverManager; |
35 | 35 |
|
36 |
import org.gvsig.fmap.data.exceptions.InitializeException;
|
|
37 |
import org.gvsig.fmap.data.exceptions.ReadException;
|
|
36 |
import org.gvsig.fmap.dal.exceptions.InitializeException;
|
|
37 |
import org.gvsig.fmap.dal.exceptions.ReadException;
|
|
38 | 38 |
import org.gvsig.fmap.data.feature.db.jdbc.JDBCDriverNotFoundException; |
39 | 39 |
import org.gvsig.fmap.data.feature.db.jdbc.JDBCExplorerParameter; |
40 | 40 |
import org.gvsig.fmap.data.feature.db.jdbc.JDBCResource; |
... | ... | |
47 | 47 |
public class PostgresqlBinResource extends JDBCResource { |
48 | 48 |
|
49 | 49 |
/* (non-Javadoc) |
50 |
* @see org.gvsig.fmap.data.feature.db.jdbc.JDBCResource#getConnection()
|
|
50 |
* @see org.gvsig.fmap.dal.feature.db.jdbc.JDBCResource#getConnection()
|
|
51 | 51 |
*/ |
52 | 52 |
protected Connection getConnection() throws ReadException { |
53 | 53 |
return super.getConnection(); |
... | ... | |
68 | 68 |
} |
69 | 69 |
|
70 | 70 |
/* (non-Javadoc) |
71 |
* @see org.gvsig.fmap.data.feature.db.jdbc.JDBCResource#createConnection()
|
|
71 |
* @see org.gvsig.fmap.dal.feature.db.jdbc.JDBCResource#createConnection()
|
|
72 | 72 |
*/ |
73 | 73 |
protected Connection createConnection() throws ReadException { |
74 | 74 |
Connection conn = null; |
... | ... | |
88 | 88 |
} |
89 | 89 |
|
90 | 90 |
/* (non-Javadoc) |
91 |
* @see org.gvsig.fmap.data.Resource#generateKey()
|
|
91 |
* @see org.gvsig.fmap.dal.Resource#generateKey()
|
|
92 | 92 |
*/ |
93 | 93 |
protected String generateKey() { |
94 | 94 |
return this.getName()+";"+this.getUrl()+";"+this.getUser(); |
95 | 95 |
} |
96 | 96 |
|
97 | 97 |
/* (non-Javadoc) |
98 |
* @see org.gvsig.fmap.data.Resource#getName()
|
|
98 |
* @see org.gvsig.fmap.dal.Resource#getName()
|
|
99 | 99 |
*/ |
100 | 100 |
public String getName() { |
101 | 101 |
return "PostgresqlBin"; |
Also available in: Unified diff