Revision 20058 trunk/libraries/libDataSourceDBBaseDrivers/src/org/gvsig/data/datastores/vectorial/db/jdbc/h2/H2FeatureCollectionWithFeatureID.java
H2FeatureCollectionWithFeatureID.java | ||
---|---|---|
1 | 1 |
package org.gvsig.data.datastores.vectorial.db.jdbc.h2; |
2 | 2 |
|
3 |
import org.gvsig.data.datastores.vectorial.db.DBFeatureType; |
|
3 | 4 |
import org.gvsig.data.datastores.vectorial.db.jdbc.AbstractJDBCDataFeatureCollectionWithFeatureID; |
4 | 5 |
import org.gvsig.data.datastores.vectorial.db.jdbc.JDBCStore; |
5 | 6 |
import org.gvsig.data.exception.ReadException; |
... | ... | |
9 | 10 |
|
10 | 11 |
|
11 | 12 |
public class H2FeatureCollectionWithFeatureID extends AbstractJDBCDataFeatureCollectionWithFeatureID { |
12 |
H2FeatureCollectionWithFeatureID(FeatureManager fm,H2Store store,IFeatureType type, String filter,String order) throws ReadException {
|
|
13 |
H2FeatureCollectionWithFeatureID(FeatureManager fm,JDBCStore store,IFeatureType type, String filter,String order) throws ReadException {
|
|
13 | 14 |
init(fm, store, type,filter, order); |
14 | 15 |
} |
15 | 16 |
|
16 | 17 |
public IFeatureCollection newBaseDataFeatureCollection(JDBCStore store, IFeatureType featureType, String filter, String order) { |
17 |
return new H2FeatureCollection((H2Store)store,this.featureType,filter,order); |
|
18 |
return new H2FeatureCollection((H2Store)store,(DBFeatureType)this.featureType,filter,order);
|
|
18 | 19 |
} |
19 | 20 |
|
20 | 21 |
} |
Also available in: Unified diff