Tim Englich ha scritto:
> 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 is just theoretical, but theoretically if you request a feature 
source for that schema, the returned object should be a FeatureSource
and not a FeatureStore. Yet, I highly doubt this turns to be working
in practice. We do build schema information from the jdbc metadata, and
for memory we don't have access informations included in it.
I may be mistaken thought.

Cheers
Andrea

-------------------------------------------------------------------------
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

Reply via email to