-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Hibernate data in PDF format
PostPosted: Fri Mar 31, 2006 10:37 am 
Newbie

Joined: Fri Mar 31, 2006 10:01 am
Posts: 2
I have to get data from oracle database and display it in browase in PDF format and excel format....is there any way to do it...any source code on internet..

Thank you


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 31, 2006 2:41 pm 
Newbie

Joined: Thu Mar 24, 2005 2:17 pm
Posts: 5
I would think that this is a view issue. For e.g. if you have a web application the JSF or JSP or whichever technology you are using should allow you to view data in certain formats.

We use JasperReports to generate reports and use JSF to view the reports in PDF. The generated report is stored in the DB in XML format and then retrieved using Hibernate. The field is a BLOB and the only requirement is that in the hibernate configuration file we have defined the field type as 'serializable'. Works fine for us.


Top
 Profile  
 
 Post subject: Pdf Generation
PostPosted: Fri Mar 31, 2006 3:00 pm 
Newbie

Joined: Mon Aug 15, 2005 7:53 pm
Posts: 8
Location: Córdoba, Argentina
Hi
I agree with Kasey... it's not a database or Hibernate issue. You should store the xml format in the database and retrieve it using hibernate.
Then, you can make a PDF or Excel file using JasperReports, Apache FOP, or iText.
You can use iReports to design the document's format.

Regards,
Matías


Top
 Profile  
 
 Post subject: Reading from image data typein SQLserver
PostPosted: Mon Apr 03, 2006 9:50 am 
Beginner
Beginner

Joined: Mon Oct 24, 2005 2:45 am
Posts: 23
how about reading image data type in SQlserver ?
Could any one provide some info on this?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.