-->
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: Blobs and MySQL DB
PostPosted: Mon Sep 06, 2004 4:45 am 
Beginner
Beginner

Joined: Mon Sep 15, 2003 9:10 am
Posts: 43
Hibernate version: 2.1.6

Mapping documents: /

Code between sessionFactory.openSession() and session.close(): /

Name and version of the database you are using: Mysql 4.1

Hi,

A simple question : is it better to store in or out the database file like pdf ?

I'm using MySQL for the database, i'll have arround 5000 documents / year and the same for image.

If i use hibernate to store in database i found a lot of sample to do it, but if a store it outside the database, in the filesystem, what is the best way to mix the 2 things ? In the dao or the service layer ?

Thanks,

Fabien


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.