• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

music format in database

 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it a good idea to put mp3 or wave file into a database? Will that fit a BLOB type?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you will need a BLOB to store WAV or MP3 contents. Whether that is good idea, or if it is better to store the music files in some other location and store paths to them in the database is a debate I will leave for others.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic