hi!
I have an entity bean (CMP) that has a field of type
java.util.Properties.  With the J2EE Reference implementation, using the

built-in Cloudscape (v. 3) DB, I am able to store and retrieve values
from the DB fine.   I looked at the table and that field was mapped to a

LONG BIT VARYING type column.

With Weblogic 5 Beta 2, using its Cloudscape (v 2.x?) DB, I created a
table with a similar column type.  However, I get an error at runtime
when trying to create an instance of the entity bean: "An attempt was
made to put a data value of type 'java.lang.Object' into a data value of

type 'LONG BIT VARYING'."

Any ideas about what the problem might be?  Is it a Weblogic bug, or a
Cloudscape 2.x bug?
Is there a restriction on the types of Container-managed field mappings
to column types?

(reading from Page 130 of the ejb 1.1 spec, I got the impression that
any java Serializable type can be a CMP field.)

thanks.

--
_____________________________________
Sandeep Kochhar
Elytics.com, 238 Broadway, Cambridge, MA 02139
Tel: 617-492-7046; Fax: 617-492-6220
mailto:[EMAIL PROTECTED]
http://www.elytics.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to