Unix Technical Forum

like operator does not work with jconnect and VERSION_6 setting

This is a discussion on like operator does not work with jconnect and VERSION_6 setting within the Sybase forums, part of the Database Server Software category; --> Hello, we are accessing a 12.5 ASE with jConnect 5.5. To get wide table support (varchar with length > ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:40 PM
Thomas Corte
 
Posts: n/a
Default like operator does not work with jconnect and VERSION_6 setting

Hello,

we are accessing a 12.5 ASE with jConnect 5.5. To get wide table support
(varchar with length > 255), we set the connection property
JCONNECT_VERSION to 6, as described in the jconnect documentation.

Strangely, this seems to affect the 'like' operator - a query with
'like' doesn't find anything, whether or not the search string contains
wildcards. Switching back to JCONNECT_VERSION: 5 restores the functionality.

Has anyone here seen that problem already?

Regards,

--
Thomas Corte
Thomas.Corte@knipp.de

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:41 PM
Thomas Corte
 
Posts: n/a
Default Re: like operator does not work with jconnect and VERSION_6 setting

Hi,

Thomas Corte wrote:

> Strangely, this seems to affect the 'like' operator - a query with
> 'like' doesn't find anything, whether or not the search string contains
> wildcards. Switching back to JCONNECT_VERSION: 5 restores the
> functionality.


In the meantime I found out that the problem actually seems to be
located in statement parameter substitution... at least, it can be
solved by setting LITERAL_PARAMS to true.

Regards,

--
Thomas Corte
Thomas.Corte@knipp.de

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com