Re: mysql TEXT column

"Robert A. Decker" <[email protected]> Fri, 10 Apr 2026 11:16:34 +0200
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
thanks, CLOB works.

Rob

> On 9 Apr 2026, at 18:54, Lon Varscsak <[email protected]> wrote:
>=20
> I think you=E2=80=99re looking for CLOB
>=20
> On Apr 9, 2026 at 9:23:59=E2=80=AFAM, Robert A. Decker =
<[email protected]> wrote:
>=20
>> I have a mysql TEXT column. I notice the modeller isn't aware of that
>> type. In the modeller should it be LONGVARCHAR or something like =
that?
>> Right now I just have it blank in the dbentity and have it as a =
varchar
>> object entity, but this isn't working.
>>=20
>> right now, I'm getting an exception because it's converting the =
string I
>> set on that variable into a stream, or a byte array... I'm not really =
sure.
>> But even when I set it to a simple short string I get:
>> Incorrect string value: '\xAC\xED\x00\x05t\x00...'
>>=20
>>=20
>> Rob
>>=20