473,388 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Writing Data from Database to pdf

Hi I have written a java program where I can access table data from Oracle database to "JTable" , and now I want the data from the Jtable to be written in a pdf file. Please assist me to do this.
Please help me with single java code to do this job i.e writing data directly from database to pdf

Thanks and Regards.
Mar 22 '13 #1
6 1582
r035198x
13,262 8TB
Read about how to use the iText A.P.I
Mar 23 '13 #2
Hi
I thank you for your reply . It would be a tough job reading an API. If you please help with some code fragments , I'll be obliged.

Thanks in advance.
Mar 24 '13 #3
r035198x
13,262 8TB
Programming requires that you read. You can't just use code fragments that you don't understand and hope that they will magically do what you want.
Mar 24 '13 #4
If a code fragment can do a magic which I want , then what's wrong in it?
Java is vast language and its really tough to learn all the API which come in requirement. So , I joined the forum so that I can get help with a little effort.
if u know the code , please provide me. I'll understand it myself.
Mar 24 '13 #5
r035198x
13,262 8TB
I didn't ask you to read all the Java API. I asked you to check the iText API which has classes that do what you want.
If you had read them you would already have been done by now instead of continuing to ask for code without showing any effort.
Mar 24 '13 #6
Thank you. Now im going to do it myself.
Mar 26 '13 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Michel | last post by:
Hi, I like to build a small simple dinamic website: Point-of-sale (detail-shop), So entering stock, logging all sales, print out invoices and download the logs to be imported into Excel. I...
2
by: Jake_adl | last post by:
Is there any way to create a Microsoft.Practices.EnterpriseLibrary.Data.Database object without reading from a configuration file? I am writing a utility that manages databases in SQL Server....
6
by: Sparky Arbuckle | last post by:
I'm trying to add customers to the database with the following Add_Customer sub routine. The problem is that it is not writing the information to the database. Any suggestions as to how I can fix...
0
by: Art | last post by:
Hi, I'm working on an application that writes records to an Access database. What I've got so far works, but very slowly. I have one class that creates the data -- some of it is as follows...
12
by: Chris Springer | last post by:
I'd like to get some feedback on the issue of storing data out to disk and where to store it. I've never been in a production environment in programming so you'll have to bear with me... My...
4
by: Andrew Chalk | last post by:
I have some data in a DataSet and want to write it back to the underlying SQL Server database. Is there any simple "one-liner" way to write a dataset back to its database or do I have to go through...
3
by: Rich Shepard | last post by:
I need to learn how to process a byte stream from a form reader where each pair of bytes has meaning according to lookup dictionaries, then use the values to build an array of rows inserted into a...
2
by: banerr2 | last post by:
I'm a beginner in C++. I'm in the process of writing an 'Automated Library Management System' using C++ on a Windows machine. I'm stuck in the midst of reading/writing data from a .csv file that...
1
by: vijaymohan | last post by:
Hi ..I am very new to perl..can some one help me with this script pls.. I am Querying database and writing data to excel.. Here is my script: #!/usr/bin/perl -w use strict; use DBI;
10
by: jimjim | last post by:
HI, We have shifted our database from sqlserver2003 to sqlserver2005. 1. connection strings stored in web.config <!-- Machine name to connection string keys --> <add key="*777*"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.