Store BitSet

From: Peter Karich (peatha..ahoo.de)
Date: Thu Mar 08 2007 - 17:39:05 EST

  • Next message: Peter Schröder: "AW: Store BitSet"

    Hallo!

    I want to store (and read) a BitSet into (from) the database.
    The long[] array is private and I don't want to hack it by using
    reflection or even store this as String with toString :-)

    So, how can I transform any object to a byte[] array and vice versa??

    Is there any further documentation on that subject? Because I can't find
    useful informations in javadocs and google results.
    Does anyone has a simple example of reading+writing an arbitrary object?

    Thank you,
    Peter Karich.

                    
    ___________________________________________________________
    Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



    This archive was generated by hypermail 2.0.0 : Thu Mar 08 2007 - 17:36:45 EST