A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
How to upload CSV or SQL file from Hibernate?
Joined: Jun 22, 2007
Jun 22, 2007 02:04:00
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 ]
Joined: Apr 14, 2004
Jun 22, 2007 02:29:00
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.
Joined: May 31, 2007
Jun 22, 2007 02:32:00
Hibernate is an Object To Relational Mappoing Tool (ORM). You need to be more elaborate on what you are trying to do.
[Java job hunting know how]
I agree. Here's the link:
subject: How to upload CSV or SQL file from Hibernate?
Convert InputStream to a File in Memory
uploadling file in jsp
upload file to web server
Creating File object problem
How to upload a file through Hibernate(BLOB)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015