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
|