The moose likes Object Relational Mapping and the fly likes Retrieving binary data via Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "Retrieving binary data via Hibernate" Watch "Retrieving binary data via Hibernate" New topic
Author

Retrieving binary data via Hibernate

Bing Qiao
Greenhorn

Joined: Oct 24, 2006
Posts: 21
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
 
 
subject: Retrieving binary data via Hibernate
 
developer file tools