dbTalk Databases Forums  

Pervasive 2000i, Cocoon & JDBC problem

comp.databases.btrieve comp.databases.btrieve


Discuss Pervasive 2000i, Cocoon & JDBC problem in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mefiu
 
Posts: n/a

Default Pervasive 2000i, Cocoon & JDBC problem - 08-08-2003 , 03:11 AM






hello,

i'm experiencing a strange problem while
fetching SQL data from Pervasive 2000i database
into the Cocoon script.

The inside-Cocoon-script has the following SQL statement:

SELECT
id As Knt_KntId,
name As Knt_Name1,
'' As Knt_URL
FROM
KH

The problem is that for a database string field (FT_STRING),
Pervasive JDBC driver completes the remaining spaces of the field
with a substring "�", ie.:

Tim's Company���������

Also, when a SQL statement is like above, instructions like:
'' As Knt_URL
are fetching the following string, not an empty string as i would like it to
be:
"�"

Any one of you know how to avoid this substring to appear?

thanks for any help and suggestions
Maciej



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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.