You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by "Hiller, Frank RD-PT31" <Fr...@heidelberg.com> on 2007/06/27 11:08:10 UTC

How to save java.awt.Color within another object

Hi list,

I've got an object that has a java.awt.Color object in it.
I'd like to store the value of Color.getRGB() of the Color object in the
database. 
And I'd like get a java.awt.Color object back when loading it from DB.

How can I do that?

Thank you, 
Frank


Confidentiality note:
The information in this email and any attachment may contain confidential and proprietary information of Heidelberger Druckmaschinen AG and/or its affiliates and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may cause liability. In case you have received this message due to an error in transmission, we kindly ask you to notify the sender immediately and to delete this email and any attachment from your system.