-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: working with binary data
PostPosted: Fri Sep 26, 2003 4:33 pm 
Newbie

Joined: Wed Sep 17, 2003 5:15 am
Posts: 9
Hi all !
I need to rewrite some code from handcoded jdbc, to Hibernate, and i have a problem with binary data.
I have a class: Resource - which represent some binary data for for other classes, and this class have a methods for accessing actual binary data through InputStream:
InputStream getData()
setData(InputStream)

, so i want to map it with Hibernate. May be someone have soled this problem, or have any ideas how to do that?
Thanks !


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 27, 2003 6:37 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
You could read the various parts of the documentation for using blobs. The other is not rewite this part of your application as you can get the connection from the session and do JDBC calls as required.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.