help needed for database access

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Bhaskar

help needed for database access

Post by Bhaskar » Wed Dec 11, 2002 10:56 am

Hi all

I m very new to JFreeCharts and even I don't have good Idea about APIs and framework. I m looking for an Line chart example which should connect to oracle and display the data in line format.
plz help out by telling the steps/ code
its very urgent..

thanx in advance

bhaskar

David Gilbert

Re: help needed for database access

Post by David Gilbert » Fri Dec 13, 2002 1:14 am

Hi Bhaskar,

The JFreeChart documentation might help you. There is a link at the top right of this page...the price is $39.95. I wish I could give it away for free, but I have to pay the mortgage.

Regards,

DG

P.S. The JDBC examples in the documentation use PostgreSQL, but the steps for Oracle should be pretty similar (I'm guessing).

Jamey Johnston

Re: help needed for database access

Post by Jamey Johnston » Mon Dec 16, 2002 11:11 pm

When you get the documentation the URL connection will look like

"jdbc:postgresql://nomad/jfreechartdb"


--- change that to ----

"jdbc:oracle:thin:@hostname:port:sid"

That should get you into Oracle.

Locked