Re: mysql TEXT column
Lon Varscsak <[email protected]> Thu, 9 Apr 2026 11:54:57 -0500
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Message-ID | <CALAw18xhnNhSENqMPU-dprO+HoX0ewcE9PDaNf2EXK3W-dQD7A@mail.gmail.com> |
--0000000000006550cc064f09e044 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think you=E2=80=99re looking for CLOB On Apr 9, 2026 at 9:23:59=E2=80=AFAM, Robert A. Decker <[email protected]= m> wrote: > 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. > > 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 sur= e. > But even when I set it to a simple short string I get: > Incorrect string value: '\xAC\xED\x00\x05t\x00...' > > > Rob > --0000000000006550cc064f09e044--