How to connect oracle to read the data??

2 messages Options
Embed this post
Permalink
dadar

How to connect oracle to read the data??

Reply Threaded More More options
Print post
Permalink
I have some problem here
when I use geotools I can connect into oracle with this code

stmt = (Statement) con.createStatement();
rs=stmt.executeQuery("select * from knn1");

the second line is error
is that because we use maven project??
then how do we connect to oracle to create calculation??
Jody Garnett-2

Re: How to connect oracle to read the data??

Reply Threaded More More options
Print post
Permalink
Hi dadar.

We cannot really help you program oracle; GeoTools is focused on  
working with spatial data. You will find that maven is only a tool to  
help you download and manage jars - it is important to note that  
Oracle does not allow anyone to distribute the jars via maven  
repositories; you will need to download them yourself - and if you are  
using maven you will need to install them into your local repository  
yourself.

There are instructions about this in the geotools readme; and  
developers guide:
- http://docs.codehaus.org/display/GEOT/4+Oracle+Optional+Dependency

Jody

On 10/10/2009, at 11:38 PM, dadar wrote:

>
> I have some problem here
> when I use geotools I can connect into oracle with this code
>
> stmt = (Statement) con.createStatement();
> rs=stmt.executeQuery("select * from knn1");
>
> the second line is error
> is that because we use maven project??
> then how do we connect to oracle to create calculation??
> --
> View this message in context: http://n2.nabble.com/How-to-connect-oracle-to-read-the-data-tp3799641p3799641.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Geotools-gt2-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users