Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@jakarta.apache.org Received: (qmail 27564 invoked by uid 500); 10 Jun 2001 01:47:28 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: taglibs-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list taglibs-user@jakarta.apache.org Delivered-To: moderator for taglibs-user@jakarta.apache.org Received: (qmail 32719 invoked from network); 8 Jun 2001 10:50:07 -0000 Message-ID: <005901c0f008$b1a662d0$01000001@dell> Reply-To: "Yiyi Sun" From: "Yiyi Sun" To: "Morgan Delagrange" Cc: References: Subject: Re: DBTags and Memo fields Date: Fri, 8 Jun 2001 06:48:40 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-Apparently-From: Yysun8@aol.com X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N As I said we cannot use DBTags with jdbc-odbc. I think that's a problem of the driver. jdbc-odbc bridge too. The getColumnType() returns -1 on my memo field. Yiyi > Hmm, doesn't sounds quite right. The getColumn tag only uses the > getClob() method for CLOB data types; in all other cases, it uses > getString(). This sounds like a driver issue, but I can't be certain. > > On Tue, 5 Jun 2001, Yiyi Sun wrote: > > > Hi Morgan, > > > > The memo type is very useful to store the large text. I used to use the > > getString(...) method of the Statement class to read memo fields while using > > the jdbc-odbc bridge and MS Access. > > > > I found in the source that the GetColumnTag class uses JDBC 2.0's Clob class > > . In JDK1.3 and beofore, the jdbc-odbc bridge is only JDBC 1.1. In JDK1.4 > > the bridge will be JDBC 2.0 that could support Clob. Until the finaly > > release of JDK1.4 in Q4 of this year, it seems that we cannot use DBTags > > with jdbc-odbc. > > > > Is it right? > > > > Cheers! > > > > Yiyi > > > > > > > > > I've never heard of the memo type. Have you successfully accessed memo > > > fields with JDBC drivers? If so, how did you do it? > > > > > > It's possible that memo fields are not supported by your JDBC drivers. > > > > > > On Sat, 2 Jun 2001, Yiyi Sun wrote: > > > > > > > Hi All, > > > > > > > > When I am using DBTags with jdbc:odbc and MS Access database, the > > > > Tag raises java.sql.SQLException if the fields to > > be > > > > read are of memo type. > > > > > > > > Any workaround or suggestion? Thanks > > > > > > > > Yiyi > > > > > > > > > > > >