Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

invalid statement

2 posts in JConnect version 3.0 Last posting was on 1999-02-07 20:08:08.0Z
juan reurich Posted on 1999-01-15 11:44:27.0Z
From: "juan reurich" <jreurich@isp.es>
Organization: 195.76.252.6
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: invalid statement
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <ncksnxHQ#GA.50@forums.powersoft.com>
Newsgroups: sybase.public.jconnect30
Date: Fri, 15 Jan 1999 06:44:27 -0500
Lines: 15
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jconnect30:333
Article PK: 255723

Hi!

We ask you to solve a problem that we have while trying to read data
from a Sybase Database (Anywhere 5.0.03), using an aplication built in
Java (jdk 1.1.6) under Windows Nt.

After connecting the database with Open Server Gateway and starting the
database server, the query returns this error:

com.sybase.jdbc.SybSQLException: invalid statement
ERROR: invalid statement, -130

We are using the jconnect 3.0 version for the database, and the Open
Server Gateway version wich is in PowerJ 2.1.

Thank you very much.


Brian McGiverin Posted on 1999-02-07 20:08:08.0Z
Message-ID: <36BDF2A8.68071257@sybase.com>
Date: Sun, 07 Feb 1999 12:08:08 -0800
From: Brian McGiverin <brian.mcgiverin@sybase.com>
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: invalid statement
References: <ncksnxHQ#GA.50@forums.powersoft.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jconnect30
Lines: 21
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jconnect30:324
Article PK: 254608


juan reurich wrote:

> Hi!
>
> We ask you to solve a problem that we have while trying to read data
> from a Sybase Database (Anywhere 5.0.03), using an aplication built in
> Java (jdk 1.1.6) under Windows Nt.
>
> After connecting the database with Open Server Gateway and starting the
> database server, the query returns this error:
>
> com.sybase.jdbc.SybSQLException: invalid statement
> ERROR: invalid statement, -130
>
> We are using the jconnect 3.0 version for the database, and the Open
> Server Gateway version wich is in PowerJ 2.1.
>
> Thank you very much.

Could you please provide moreof the source code that was used? What
queries (if any) were sent to the database? We need more information to
understand the context of this problem.

Thanks,
Brian