Howdy,

There appears to be a problem with the ArcSDE connector when running 
ArcSDE on Oracle. The database name can be empty which causes an invalid 
type name to be created for a non-qualified type name.

See:
org.geotools.data.arcsde.ArcSDEDataStore
        public synchronized FeatureType getSchema(String typeName)

From:
LOGGER.warning(
     "A non qualified type name was given, qualifying it...");
typeName = conn.getDatabaseName() + "." + conn.getUser() + "."
     + typeName;
LOGGER.info("full qualified name is " + typeName);

To:
LOGGER.warning(
     "A non qualified type name was given, qualifying it...");
typeName = conn.getDatabaseName().length() > 0
            ? conn.getDatabaseName() + "." + conn.getUser() + "."
                + typeName
            : conn.getUser() + "." + typeName;
LOGGER.info("full qualified name is " + typeName);

Cheers,
Shaun

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to