ajay singh ha scritto: > Hi everybody, > I am new to geotools . I want to edit every > feature one by one. > I saw featureStore.modifyfeatures function can't be used for > single entity. > and also i don't know how to commit this transaction.
I can be used for a single entity, you just have to create a FID filter that only matches the entity you want to edit (which assumes you have a primary key in your database table). The transaction is auto-commit unless you explitly create one and set it into the FeatureStore. If you do so, keep the transaction object around and call commit on it when you're done. Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
