Yes - you can check the returned instance from DataStore.getFeatureSource( typeName )
If the instance is a FeatureStore you have read/write access. If the instance is *just* a FeatureSource then you only have read access. Cheers, Jody > Hello everyone, > > I am searching for an possibility to determine if an schema of an DataStore > (OracleDataStore) is readonly. I need this Information to disable the editing > possibility of an Layer in the GUI if an schema is readonly. > > Is there any chance to determine it. > > - Tim > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- 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
