Re: Hibernate + MySQl - blob mapping question

Discussion in 'Java' started by Roedy Green, Aug 23, 2003.

  1. Roedy Green

    Roedy Green Guest

    On Sat, 23 Aug 2003 03:11:45 GMT, "Igor" <> wrote or
    quoted :

    >What Hibernate type would you recommend for the mapping - binary,
    >serializable or blob?


    Serialisable would not be suitable for gifs or jpgs because the
    internal representation of an Image is different on different
    platforms. You want to save images as a standard format of bits. I
    don't know what the difference is between binary and blob.

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
    Roedy Green, Aug 23, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ilias Lazaridis
    Replies:
    0
    Views:
    1,721
    Ilias Lazaridis
    Dec 27, 2004
  2. Replies:
    0
    Views:
    3,706
  3. chomiq

    HIBERNATE, ORACLE, BLOB > 4k

    chomiq, Oct 20, 2005, in forum: Java
    Replies:
    1
    Views:
    8,683
    Adam Maass
    Oct 21, 2005
  4. jstorta
    Replies:
    1
    Views:
    11,753
  5. Eleanna Skouta
    Replies:
    2
    Views:
    8,424
    Arne Vajhøj
    Dec 9, 2008
Loading...

Share This Page