Revision 1704 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/jdbc/postgis/PostGisDriver.java
PostGisDriver.java | ||
---|---|---|
140 | 140 |
{ |
141 | 141 |
this.conn = conn; |
142 | 142 |
this.tableName = tableName; |
143 |
this.fields = fields; |
|
143 | 144 |
this.whereClause = whereClause; |
144 | 145 |
this.sqlOrig = "SELECT " + fields + " FROM " + tableName + " " + whereClause; |
145 | 146 |
try { |
... | ... | |
195 | 196 |
ResultSet rs = st.executeQuery(sql); |
196 | 197 |
geomIterator = new PostGisGeometryIterator(rs); |
197 | 198 |
} catch (SQLException e) { |
199 |
e.printStackTrace(); |
|
198 | 200 |
throw new com.iver.cit.gvsig.fmap.DriverException(e); |
199 | 201 |
} |
200 | 202 |
|
Also available in: Unified diff