Invalid result created when qualifying type name
------------------------------------------------
Key: GEOT-1212
URL: http://jira.codehaus.org/browse/GEOT-1212
Project: GeoTools
Issue Type: Bug
Components: data arcsde
Affects Versions: 2.2.2
Reporter: Shaun Forbes
Assigned To: Gabriel Roldán
When running with ArcSDE on Oracle the database name can be empty which results
in ArcSDEDataStore.getSchema(String typeName) generating an invalid type name
being generated when trying to generate a fully qualified name
{code}
typeName = conn.getDatabaseName() + "." + conn.getUser() + "."
+ typeName;
{code}
should be something like
{code}
typeName = conn.getDatabaseName().length() > 0
? conn.getDatabaseName() + "." + conn.getUser() + "." + typeName
: conn.getUser() + "." + typeName;
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel