• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieving binary data via Hibernate

 
Bing Qiao
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I've searched for a long time and couldn't find an answer.

Is there a way to have Hibernate return the InputStream instead of blob or byte[], so the data can be streamed to the web client?

Can a custom data type achieve this?

Thanks very much for your help!

Bing
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic