commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Krogemann <markus.krogem...@cologne-systems.de>
Subject Re: [dbcp] limitation on size of varchar in conjunction with sybase? -> SOLVED!
Date Mon, 14 Jun 2004 14:19:36 GMT
of course it does work as expected. The mistake was somewhere else, so 
simply ignore ...

Markus Krogemann wrote:

> 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
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message