I'm developping a J2EE web app, i have to save a pdf file in oracle database (oracle 12c) .
The file it will be uploaded by user. I would like some advices too like if its better to save the pdf in database like binary , something else or just the path. any information or idea will be very interesting for me .
First thanks to Giovanni the type is BLOB. How to do it:
Example for storing blob data : visit http://www.java2s.com/Code/Java/Database-SQL-JDBC/StoreBLOBsdataintodatabase.htm .
Example for reading blob data from database: visit http://www.java2s.com/Code/Java/Database-SQL-JDBC/ReadBLOBsdatafromdatabase.htm .