Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Violet Nelson   on Oct 04 In Java Category.

  
Question Answered By: Tarrant Thompson   on Oct 04

u can map that field  in hibernate as binary. the corresponding java object field should be byte[].
put this in sessionFactory as well :


<configuration-property>
<property-name>hibernate.jdbc.use_streams_for_binary</property-name>
<property-value>true</property-value>
</configuration-property>

Share: 

 
 
Didn't find what you were looking for? Find more on Image Field Or get search suggestion and latest updates.


Tagged: