-
Von: Peter Karich [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 9. März 2007 21:41
An: user@cayenne.apache.org
Betreff: Re: AW: Store BitSet
Hi, Peter Schröder!
> you may use
> http://java.sun.com/j2se/1.4.2/docs/api/java/io/ObjectOutputStream.html
> to serialize any given object. bu
Hi, Peter Schröder!
> you may use
> http://java.sun.com/j2se/1.4.2/docs/api/java/io/ObjectOutputStream.html
> to serialize any given object. but i guess thats not what you want.
Ah thank you! with the addition of ByteArrayOutputStream it is very easy:
//writing:
ByteArrayOutputStream baos = new
Hello Peter.
On Mar 8, 2007, at 23:39, Peter Karich wrote:
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 :-)
It depend on how you want to store it in the data
@cayenne.apache.org
Betreff: 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
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