Print Report

Hi, how to print data on paper or report from jdbc by sql statement?

[75 byte] By [jiong_ronga] at [2007-11-27 10:51:10]
# 1

No, you would use the SQL statement to get data from the database into memory. You would then use something else (something having nothing to do with JDBC) to print that data.

DrClapa at 2007-7-29 11:29:35 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2

Use JasperReports to generate a report from database data retrieved with SQL.

http://www.regdeveloper.co.uk/2006/10/24/jasperreports_tutorial/

dvohra09a at 2007-7-29 11:29:35 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3

I am using Eclipse IDE, how to print a report?

jiong_ronga at 2007-7-29 11:29:35 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 4

The Eclipse IDE is the tool you use to write your Java programs. The fact that you are using that and not Netbeans or Notepad is irrelevant.

Your question is "How do I use Java to print data". Googling the keywords "java print tutorial" might get you an answer. Try not to get distracted by irrelevant details.

DrClapa at 2007-7-29 11:29:35 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...