Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Getting Data from DB2

Posted on 2006-06-21
3
Medium Priority
?
337 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
2 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 500 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 500 total points
ID: 16958803
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
This video teaches viewers about errors in exception handling.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

580 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