Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11

    Im sorry to misinform everyone but It is not an image i am trying to store. It is of type byte[] (byte array)

    Maybe I said image because some say byte[] can be an image

    how can i store a byte[] into a database?

  2. #12
    It is still the same, byte[] can be either a executable file, image, docs, etc.

  3. #13
    An array in java is an object. So to persist it on a database, insert it as a blob. research about object serialization and object persistence on a database if you want to know more.

  4.    Advertisement

Page 2 of 2 FirstFirst 12

Similar Threads

 
  1. Need help with my java to database
    By brianegalorio in forum Programming
    Replies: 7
    Last Post: 03-17-2012, 11:57 PM
  2. using java code for database program
    By istoryansucks in forum Programming
    Replies: 8
    Last Post: 07-12-2010, 04:04 PM
  3. java-database
    By sogate in forum Programming
    Replies: 42
    Last Post: 07-03-2009, 01:04 AM
  4. image bigger than its panel in java
    By manick in forum Programming
    Replies: 4
    Last Post: 09-11-2008, 08:55 PM
  5. JAVA plus Image Processing plus template matching
    By DonJenn in forum Programming
    Replies: 8
    Last Post: 10-13-2006, 10:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top