Results 1 to 2 of 2
  1. #1
    facemeguru is offline Member
    Join Date
    Feb 2011
    Posts
    1
    Rep Power
    0

    Default Insert class file as object in a table & read the object from the blob.

    1) I want to insert the class file as object in a table.
    2) Then i have to read the inserted blob from the table as object.
    3) And i have to convert that to byte array.
    Im new to java. Please help me. Thanks in advance

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,044
    Blog Entries
    7
    Rep Power
    23

    Default

    Quote Originally Posted by facemeguru View Post
    1) I want to insert the class file as object in a table.
    2) Then i have to read the inserted blob from the table as object.
    3) And i have to convert that to byte array.
    Im new to java. Please help me. Thanks in advance
    Don't do that; create a little 'represtative' class that has a nice String representation of the class and contains your class and add that to your table.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. how to insert a file object in excel sheet using java
    By jyoti.dce in forum Advanced Java
    Replies: 1
    Last Post: 08-11-2010, 06:08 PM
  2. Replies: 2
    Last Post: 06-22-2010, 04:29 AM
  3. Replies: 3
    Last Post: 03-15-2010, 09:44 PM
  4. Retrieving image stored as BLOB object in oracle
    By venkateshcoolmoon in forum JDBC
    Replies: 11
    Last Post: 01-17-2010, 07:06 PM
  5. Creating object of Type Object class
    By venkatv in forum New To Java
    Replies: 3
    Last Post: 07-17-2007, 03:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •