-->
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: Storing files in database
PostPosted: Mon Feb 12, 2007 10:35 am 
Newbie

Joined: Tue Jun 27, 2006 9:34 am
Posts: 9
Location: St. Petersburg
Hello
I want to store some files in database.
In Hibernate there is basic type "binary" that is equal to "bytea" in Postgres.

But I don't understand what class in java I should use to store files (InputStream, ByteArrayInputStream or some other?)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 13, 2007 7:03 am 
Newbie

Joined: Tue Jun 27, 2006 9:34 am
Posts: 9
Location: St. Petersburg
No answers?


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.