*
The moose likes Object Relational Mapping and the fly likes How to upload CSV or SQL file from Hibernate? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How to upload CSV or SQL file from Hibernate?" Watch "How to upload CSV or SQL file from Hibernate?" New topic
Author

How to upload CSV or SQL file from Hibernate?

Vimal Panchal
Greenhorn

Joined: Jun 22, 2007
Posts: 8
Hi Hibernaties,

Can please give me solution how to upload the file from hibernate.? (Sorry way too many smileys. Mark)
[ June 22, 2007: Message edited by: Mark Spritzler ]

vimal panchal
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Uploading a file can't be done - that is not what Hibernate is for. Assuming you have your file content in memory however, Hibernate does support binary data types, so you can persist it using this type.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
arulk pillai
Author
Ranch Hand

Joined: May 31, 2007
Posts: 3220
Hibernate is an Object To Relational Mappoing Tool (ORM). You need to be more elaborate on what you are trying to do.


Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
 
GeeCON Prague 2014
 
subject: How to upload CSV or SQL file from Hibernate?