dbTalk Databases Forums  

7.1 version and JDBC: how to?

comp.databases.informix comp.databases.informix


Discuss 7.1 version and JDBC: how to? in the comp.databases.informix forum.



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

Default 7.1 version and JDBC: how to? - 08-26-2003 , 05:04 AM






Environment: Informix SE 7.1 on AIX, JDBC 2.2 connection.
When I try to execute a simple select, the server returns this error:
"java.sql.SQLException: Server does not support GLS variables DB_LOCALE,
CLIENT_LOCALE or GL_DATE."
I found this note on
http://www-3.ibm.com/software/data/i...s/JDBCdr20.htm
"o DB_LOCALE, CLIENT_LOCALE, and GL_DATE are supported only if the
server supports the Informix GLS feature. If these environment
variables are set and your application connects to a non-GLS server
(server versions earlier than 7.2), a connection exception occurs.".
I deduced Informix 7.1 doesn't support GLS features...
On a newsgroup, I found (maybe) a workaround:
"Try unsetting CLIENT_LOCALE and DB_LOCALE and
test the connection again."

But HOW can I do that?
Is it right?
Ideas?

Thanks a lot in advance.

Marco Fabbri




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.