dbTalk Databases Forums  

java.sql.SQLException: JZ0PE - problem with big SQL query

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss java.sql.SQLException: JZ0PE - problem with big SQL query in the sybase.public.sqlanywhere.general forum.



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

Default java.sql.SQLException: JZ0PE - problem with big SQL query - 03-24-2010 , 11:23 AM






Our product use SA 10.0.1(3807 Windows; 3805-Linux) , as application
server used jboss 4.0.5. Connection to database used jconn3.jar
manifest info -
Name: com/sybase/jdbcx/
Specification-Title: "jConnect for JDBC 3.0"
Implementation-Title: "com.sybase.jdbcx"
Specification-Version: "6.0"
Specification-Vendor: "Sybase, Inc."
Implementation-Version: "Build (26564)"
Implementation-Vendor: "Sybase, Inc."
When running big SQL query size around 56K we get follows error -
java.sql.SQLException: JZ0PE: The number of columns in your cursor
declaration OR the size of your cursor declaration itself are large
enough that you require widetable support. But either the server does
not offer such support, or it was not requested during the login
sequence. Try setting the JCONNECT_VERSION property to >= 6 if you
wish to request widetable support.
We have set to connection string explicitly JCONNECT_VERSION=6 but
this error appears again. In the same time running this query from
dbisql - query is working properly.
Any idea what is the problem!?

Thanks, Hanan Brener

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.