View Single Post

   
  #2 (permalink)  
Old 04-08-2008, 04:04 PM
Simon Bieri
 
Posts: n/a
Default Re: jdbcs cuts string longer than 255 bytes

Hi all again

I mayby found a reason for that problem. It seems to be that I have
especially write that code:
SybDriver drv =
(SybDriver)Class.forName("com.sybase.jdbc2.jdbc.Sy bDriver").newInstance();
drv.setVersion(drv.VERSION_LATEST);
DriverManager.registerDriver(drv);

which is no jdbc standard.

Does Sybase provide's a patch for that problem, so that the jdbc
standard is supported?

Simon

Simon Bieri schrieb:

> Hi all
>
> I have Sybase 12.5 with jConnect4.5.
>
> I have a table with a varchar column. When I insert data of more than
> 255 bytes with the JConnect4.5's jdbc driver there's no problem. If I
> try to get the data of this column, the same jdbc driver cuts the data
> after 255 bytes.
>
> Does anybody know why?
>
> Simon
>


--
I believe the entire IQ of mankind is a constant
while the count of human being is constantly increasing.
(As you can see in the governments of the world)

-!Please only use the Reply-to address!-

Reply With Quote