Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 39549 invoked from network); 14 Jun 2004 12:16:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jun 2004 12:16:11 -0000 Received: (qmail 33391 invoked by uid 500); 14 Jun 2004 12:15:51 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 33324 invoked by uid 500); 14 Jun 2004 12:15:50 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 33284 invoked by uid 99); 14 Jun 2004 12:15:50 -0000 Received: from [62.153.92.13] (HELO csfire.cologne-systems.de) (62.153.92.13) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 14 Jun 2004 05:15:50 -0700 Received: from [192.168.97.232] (helo=cologne-systems.de) by csfire.cologne-systems.de with esmtp (Exim 3.34 #1) id 1BZqMz-0004g1-00 for commons-user@jakarta.apache.org; Mon, 14 Jun 2004 14:15:21 +0200 Message-ID: <40CD96DA.4020208@cologne-systems.de> Date: Mon, 14 Jun 2004 14:15:22 +0200 From: Markus Krogemann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: [dbcp] limitation on size of varchar in conjunction with sybase? References: In-Reply-To: X-Enigmail-Version: 0.83.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dear list I am having trouble with a PoolingDriver implementation in conjunction with sybase (ASE 12.5, jconnect 5.5) and dbcp 1.1. I know that in order to successfully read varchars with lengths greater than 255, i need to set a property in the jconnect driver like this: sybdriver.setVersion(com.sybase.jdbcx.SybDriver.VERSION_LATEST) This works ok when i don't use a db pool but just a single "hand-made" connection. However, when i use a PoolingDriver implementation i can only get 255 chars from a varchar that contains more than 255 chars. Is there any limitation in PoolingDriver that could cause that? I know, it's unlikely, but i thought i'd ask before looking much further. Could it be that the setVersion call stays without effect in the presence of PoolingDriver? Also: Have other readers had similar problems and - better still - a solution? Best regards, Markus --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org