cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: Mapping to Mysql TEXT type
Date Wed, 30 May 2007 09:20:07 GMT

On May 29, 2007, at 8:10 PM, Fredrik Liden wrote:

> If I want to use the Mysql TEXT datatype, how should I go about
> specifying that in the modeler? Should I use "Other" and then manually
> change it to TEXT in the database? Or should I use "Varchar" and  
> set the
> maximum string length to be something more in line with real TEXT
> length?
> Thanks!
> Fredrik

Cayenne modeler DB types are the types from JDBC spec. So technically  
TEXT corresponds to CLOB. In practice I think both CLOB and VARCHAR  
should work.

Hope this helps.


View raw message