Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

session.merge does not save blob

 
Ted Amer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have also posted this on Hibernate forums... but still no help...
I am using Java 1.4, Hibernate 3. Until now i have used for save operation. Due to some problems in saving detached object, i started using .

Now there is new issue that i came across recently, for example, i have




when i try to save this using session.merge, the blob does not get created.

For the Document object, i am setting its blob something like this




How do I fix this issue? Has anyone faced a similar issue before, how was it fixed? please help
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Game One", please check your private messages.
 
Daniel Alonso
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same Ted's problem. I can't find any fix, clue or solution in the main forums and around internet. May anyone have any clues?

Thank you in advance
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!