Hi,
I was using a FidFilter on a primary key in my postgis database, but due
to data growth a second column has been added to the original primary key.
Is there any way i can still do the same thing now ? Please tell me it is
possible ...
former code as an example:
ResultSet myResult;
FilterFactory filterFactory =
FilterFactoryFinder.createFilterFactory();
FidFilter filter = filterFactory.createFidFilter();
try {
myResult = myRequest.getResultSet();
while (myResult.next()) {
filter.addFid(myResult.getString(1));
}
} catch (SQLException e1) {
e1.printStackTrace();
logger.error("erreur de resultat");
}
FeatureCollection returnFeatureCollection = null;
try {
returnFeatureCollection =
currentFeatureSource.getFeatures(filter);
} catch (IOException e) {
e.printStackTrace();
logger.error("erreur de filtrage");
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users