+ 3
how to insert pdf file in java database and retrieve it using one unique id number.
how to insert a pdf file in java database using jsp/servlet and retrieve this file using one unique identification number
2 Respuestas
+ 2
Storing a possibly big file in database is NOT a good idea.
Database size will get bigger and bigger, and access time will get slower. I once a fix database because of this problem even the dbms crash if i'm not limiting the output.
My advice is save the file somewhere in disk or cloud storage, then only save the path to that file in the database