Revision 20058 trunk/libraries/libDataSourceDBBaseDrivers/src/org/gvsig/data/datastores/vectorial/db/jdbc/h2/H2FeatureCollectionEditing.java
H2FeatureCollectionEditing.java | ||
---|---|---|
112 | 112 |
private boolean nextChecked=false; |
113 | 113 |
private IFeature feature; |
114 | 114 |
private ResultSet rs; |
115 |
private JDBCStore store;
|
|
115 |
private H2Store store;
|
|
116 | 116 |
private DBFeatureType featureType; |
117 | 117 |
private boolean rsEOF=false; |
118 | 118 |
|
119 |
public H2Iterator(JDBCStore store, ResultSet rs, DBFeatureType featureType){
|
|
119 |
public H2Iterator(H2Store store, ResultSet rs, DBFeatureType featureType){
|
|
120 | 120 |
this.store = store; |
121 | 121 |
this.rs = rs; |
122 | 122 |
this.featureType = featureType; |
... | ... | |
188 | 188 |
IFeature feature=null; |
189 | 189 |
try { |
190 | 190 |
if(rs.next()){ |
191 |
feature=H2Utils.createFeature(this.store, this.rs, featureType);
|
|
191 |
feature=this.store.createFeatureFromResulset(this.rs, featureType);
|
|
192 | 192 |
} |
193 | 193 |
} catch (java.sql.SQLException e) { |
194 | 194 |
throw new RuntimeException( |
Also available in: Unified diff