Nils Hartmann wrote:

> Hi,
> does anybody know which datatype in PostgreSQL I have to use for making
> serializable attributes in Entity Beans persistent?
>
> I've tried 'VARCHAR' but when I read the Bean back from database, I got
> an Exception, the bean would contain data that could not be
> deserialized. I think the same code using Oracle works fine!

>
> Some suggestions ?
>

The only hypothesis (not tested) is that your varchar(n) ran out of space.
Try TEXT, that corresponds to large objects. If text works, then the
problem is related with the maximum size you specified for varchar.

Hope this helps

>
> regards,
> nils
> --
> Nils Hartmann
> Curry Communication GmbH
> Behringstr. 28a, 22765 Hamburg, Germany
> Tel: 040 - 398 34 408
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to