Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

PDF File to java.sql.Blob  RSS feed

 
Sri Jad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There,

I have a PDF file and i have a BLOB Column in the oracle 9i database.I need to insert that PDF file into the database.Can some one suggest me how to do that.Any help is much appreciable

Thanks In Advance

Sri
 
Jaime M. Tovar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a PreparedStatement, in java.sql there is a Blob Class to deal with blobs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!