Solved

Getting Data from DB2

Posted on 2006-06-21
3
324 Views
Last Modified: 2008-02-07
Hi all,
  I need to get Data from DB2 using Java files and return the results in Actuate reporting tool. Some code example would be helpful too.

Please let me know if you need further info.

--scientist.
0
Comment
Question by:scientist060700
3 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 125 total points
ID: 16956905
Do you know JDBC? If not, then you need to go through the JDBC tutorial:

http://java.sun.com/docs/books/tutorial/jdbc/

Some samples here:

http://www.javaalmanac.com/egs/java.sql/pkg.html 

You need to download the appropriate driver for DB2. Select your database from this page and then you'll get a link to the site(s) from where you can download the driver:

http://developers.sun.com/product/jdbc/drivers 

Come up with some initial code and then we can help you further.
0
 
LVL 14

Assisted Solution

by:hoomanv
hoomanv earned 125 total points
ID: 16958803
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Non-recursive backtracking, using a stack 1 101
ArrayIndexOutOfBoundException 9 67
Where to store the queries for modification of table 4 55
servlet  URL Rewriting 1 27
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now