On Mon, 16 Apr 2012 22:41:23 -0300, bhorvat <horvat.z.bo...@gmail.com> wrote:

So you use the stream to show the image but in the db you only store some
sort of id, right? And if the file is too big (say 100 MB) it makes no
difference?

I store the files inside the database. That's my choice. I've never needed to deal with files larger that a few megabytes, though. Basically, there is no silver bullet and the best solution needs to be decided in a case-by-case basis.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to