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.

Creating a simple Connection class - Sybase please read!

2 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-04-15 02:08:44.0Z
James T. Boyce Posted on 1997-04-15 02:08:44.0Z
X-Newsreader: Microsoft Outlook Express 4.71.0544.0
From: "James T. Boyce" <boycej@nuveen.com>
Subject: Creating a simple Connection class - Sybase please read!
Date: Mon, 14 Apr 1997 19:08:44 -0700
Lines: 17
Organization: John Nuveen & Company
X-MimeOLE: Produced By Microsoft MimeOLE Engine V4.71.0544.0
Message-ID: <DrGBTiSS8GA.176@forums.powersoft.com>
Newsgroups: sybase.public.jdbcconnect
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:1016
Article PK: 252770

I think that there is great potential for jConnect, but I am disappointed
at the documentation that Sybase has provided with jConnect. We are trying
to create an applet that will have multiple components (list boxes, choice
boxes, etc.) filled with the result sets of multiple SQL statements. We
are currently in the process of writing our own class that will take as its
only argument a select statement. It seems to me that that would be a
great thing for Sybase to provide as part of their documentation for
jConnect--the source code of a skeleton class that makes the connection to
a SQL Server database via jConnect and takes as its only argument a select
statement. Is it just me or doesn't that just make a whole lot of sense?
Sybase has a much better handle on all the possible problems that could
come up with attempts to query their database and therefore would be much
more qualified in knowing all the possible exceptions that should be
caught. Can someone at Sybase please provide us with this kind of
documentation to work with?


Marty Hall Posted on 1997-04-15 00:21:34.0Z
Message-ID: <3352CA0E.B85@apl.jhu.edu>
Date: Mon, 14 Apr 1997 20:21:34 -0400
From: Marty Hall <hall@apl.jhu.edu>
Organization: Johns Hopkins University Applied Physics Lab
X-Mailer: Mozilla 3.01 (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: "James T. Boyce" <boycej@nuveen.com>
Subject: Re: Creating a simple Connection class - Sybase please read!
References: <DrGBTiSS8GA.176@forums.powersoft.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 35
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:1015
Article PK: 252767


James T. Boyce wrote:
>
> I think that there is great potential for jConnect, but I am disappointed
> at the documentation that Sybase has provided with jConnect. We are trying
> to create an applet that will have multiple components (list boxes, choice
> boxes, etc.) filled with the result sets of multiple SQL statements. We
> are currently in the process of writing our own class that will take as its
> only argument a select statement. It seems to me that that would be a
> great thing for Sybase to provide as part of their documentation for
> jConnect--the source code of a skeleton class that makes the connection to
> a SQL Server database via jConnect and takes as its only argument a select
> statement. Is it just me or doesn't that just make a whole lot of sense?
> Sybase has a much better handle on all the possible problems that could
> come up with attempts to query their database and therefore would be much
> more qualified in knowing all the possible exceptions that should be
> caught. Can someone at Sybase please provide us with this kind of
> documentation to work with?

The trial download has a sample Isql.java applet provided with it. That
is
how I figured out how to do what you are talking about. Look around, I
would
be surprised if it did not ship with the real jConnect release. Good
luck.

Ted