Oracle 11g Spatial DB Connection
--------------------------------
Key: GEOT-2541
URL: http://jira.codehaus.org/browse/GEOT-2541
Project: GeoTools
Issue Type: Wish
Affects Versions: 2.5.4
Environment: Eclipse 3.4 Ganymede
Reporter: İlker GÜRCAN
Hi Everybody i try to connect my spatial db which was created on oracle 11g...
i have to following oracleConnection.properties file:
#
# Properties needed to connect to Oracle
#
# Must be the string
dbtype=oracle
# Machine name or IP address to connect to
host=myhost
# Port number to connect to, default 1521
port=1521
# The database schema to access
schema = SPATIAL_ANKARA_YOLLAR
database=ORACLE
# User name and password
user=myname
passwd=mypass
And my java code is going here:
Reader okuyucu = new FileReader("C:\\Documents and
Settings\\ilitheblack\\Belgelerim\\" +
"EclipseCalismaAlani\\BitirmeProjesi\\SpatialDataManipulation\\src\\main\\java"
+
"\\oracleConnection.properties");
Properties config = new Properties();
config.load(okuyucu);
SpatialUtilities.veriDeposu = DataStoreFinder
.getDataStore(config);
but it always returns null datastore....
--
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
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel