Tim, What database are you working with? We're using longs and clobs successfully with oracle (though we did have to fix a bug wrt the longs). The sql type for each of these in the mapping is char (quite counter-intuitively) fo rthe longs, and clob (obviously) for the clobs. The java type for both is string...
Margaret Martin -----Original Message----- From: Zielinski, Tim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 1:02 PM To: [EMAIL PROTECTED] Subject: [castor-dev] SQL type 'text' I was just wondering if anyone has come up with any solutions for the database type 'text' since Castor doesn't recognize it. Our problem is that we use these fields for very large amounts of text and our database will only let us use a varchar up to a maximum size. Using a varchar also increases the space needed for each record. Has anyone else had this problem or know of a solution that we can use? Thanks a lot. ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
