Revision 20058 trunk/libraries/libDataSourceDBBaseDrivers/src/org/gvsig/data/datastores/vectorial/db/jdbc/postgresql/PostgresqlFeatureCollectionEditing.java

View differences:

PostgresqlFeatureCollectionEditing.java
109 109
		private ResultSet rs;
110 110
		private boolean nextChecked=false;
111 111
		private IFeature feature;
112
		private JDBCStore store;
112
		private PostgresqlStore store;
113 113
		private DBFeatureType featureType;
114 114
		private String sql;
115 115
		private int fetchSize;
......
118 118
		private long position;
119 119
		private boolean rsEOF=false;
120 120

  
121
		public PostgresIterator(JDBCStore store, DBFeatureType featureType,String sql,int fetchSize)  throws ReadException{
121
		public PostgresIterator(PostgresqlStore store, DBFeatureType featureType,String sql,int fetchSize)  throws ReadException{
122 122
			this.sql = sql;
123 123
			this.store = store;
124 124
			this.featureType = featureType;
......
201 201
			IFeature feature=null;
202 202
			try {
203 203
				if(rs.next()){
204
					feature=PostgresqlStoreUtils.createFeature(this.store, this.rs, featureType);
204
					feature=this.store.createFeatureFromResulset(this.rs, featureType);
205 205
				}
206 206
			} catch (java.sql.SQLException e) {
207 207
				throw new RuntimeException(

Also available in: Unified diff