I am storing images into bytea column in postgresql my doubt is there any use if i store the file name example(tree.jpeg) into DB. Anyhow i'm able to display images in jsp which are stored in bytea column without its file name. so whats the use of storing file name of the images in DB?
Asked
Active
Viewed 142 times
1 Answers
0
There is no reason whatsoever to store the file name, unless you intend to store the image back in the file system under it's original name at some point.

Patrick
- 29,357
- 6
- 62
- 90