Solved

Getting Data from DB2

Posted on 2006-06-21
3
323 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:
mayankeagle 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

758 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