-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate and binary data
PostPosted: Fri Jul 01, 2005 7:25 am 
Newbie

Joined: Fri Jul 01, 2005 7:15 am
Posts: 1
Hello,

I'm trying to store images into a PostgreSQL(v7.4) database. I could get it to work using a byte-array, but this approach keeps the whole image in memory and trying to insert a large image (>500k) causes an out-of-memory exception. Is there a way to stream the data directly into the database with hibernate, or do i need to do this with jdbc directly. Can someone point me into the right direction?
Thanks a lot!

Best regards,

Timo


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

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.