• Post Reply Bookmark Topic Watch Topic
  • New Topic

Inserting a blob using hibernate

 
shri mon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a table with a blob field.I want to populate that using hibernate.


Thanks in advance
Shrimon.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using a property with a type of "binary".
 
Amol Fuke
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry but i didn't get "populate using hibernate"..

Well ,i know how to populate blob column using java.

let me know.
 
shri mon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i meant i wanted to insert data into that field using hibernate.



Shrimon.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!