Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to upload CSV or SQL file from Hibernate?

 
Vimal Panchal
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
arulk pillai
Author
Ranch Hand
Posts: 3387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate is an Object To Relational Mappoing Tool (ORM). You need to be more elaborate on what you are trying to do.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic