Revision 13659
trunk/extensions/extJDBC/src-test/com/iver/cit/gvsig/jdbc_spatial/testPostGIS.java | ||
---|---|---|
1 | 1 |
package com.iver.cit.gvsig.jdbc_spatial; |
2 | 2 |
|
3 | 3 |
|
4 |
import java.sql.Connection; |
|
5 |
import java.sql.DriverManager; |
|
6 | 4 |
import java.sql.ResultSet; |
7 | 5 |
import java.sql.SQLException; |
8 | 6 |
import java.sql.Statement; |
9 | 7 |
|
10 | 8 |
import junit.framework.TestCase; |
11 | 9 |
|
12 |
import com.hardcode.gdbms.engine.data.driver.DriverException;
|
|
10 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
|
|
13 | 11 |
import com.hardcode.gdbms.engine.values.NumericValue; |
14 | 12 |
import com.iver.cit.gvsig.fmap.drivers.ConnectionFactory; |
15 | 13 |
import com.iver.cit.gvsig.fmap.drivers.ConnectionJDBC; |
... | ... | |
117 | 115 |
} catch (SQLException e) { |
118 | 116 |
// TODO Auto-generated catch block |
119 | 117 |
e.printStackTrace(); |
120 |
} catch (DriverException e) { |
|
118 |
} catch (ReadDriverException e) {
|
|
121 | 119 |
// TODO Auto-generated catch block |
122 | 120 |
e.printStackTrace(); |
123 | 121 |
} |
Also available in: Unified diff