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.

Disconnect?

3 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-05-19 22:43:34.0Z
Matthias Jakob Posted on 1997-05-19 22:43:34.0Z
Message-ID: <3380D796.3DDC@Dive.Informatik.FH-Schmalkalden.de>
Date: Tue, 20 May 1997 00:43:34 +0200
From: Matthias Jakob <Matthias.Jakob@Dive.Informatik.FH-Schmalkalden.de>
Reply-To: Matthias.Jakob@Dive.Informatik.FH-Schmalkalden.de
Organization: FH-Schmalkalden
X-Mailer: Mozilla 3.01Gold (WinNT; I)
MIME-Version: 1.0
Subject: Disconnect?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 3
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:833
Article PK: 252585

How can I disconnect the java Appl. from the Database?





Thanks, Matthias!


Venkata Viswanathan Posted on 1997-05-16 20:30:24.0Z
Message-ID: <337CC3E0.68F@sybase.com>
Date: Fri, 16 May 1997 13:30:24 -0700
From: Venkata Viswanathan <venkat@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
Subject: Re: Disconnect?
References: <3380D796.3DDC@Dive.Informatik.FH-Schmalkalden.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 10
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:827
Article PK: 252577

Do a close of your con object, like this con.close()
That disconnects the connection.

Matthias Jakob wrote:
>
> How can I disconnect the java Appl. from the Database?
>
> Thanks, Matthias!

--
----------------------------------------------------------------
Venkat S. Viswanathan
Ph:(510) 922 0790. Fax:(510) 922 5331
Sybase, Inc. 1650 65th Street, Emeryville, CA 94608.


Lance Andersen Posted on 1997-05-15 12:19:32.0Z
Message-ID: <337AFF54.F32@sybase.com>
Date: Thu, 15 May 1997 08:19:32 -0400
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: Matthias.Jakob@Dive.Informatik.FH-Schmalkalden.de
Subject: Re: Disconnect?
References: <3380D796.3DDC@Dive.Informatik.FH-Schmalkalden.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 17
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:832
Article PK: 252584


Matthias Jakob wrote:
>
> How can I disconnect the java Appl. from the Database?
>
> Thanks, Matthias!

You can use the Connection.close() method and
Statement.close() methods.

See $JDBC_HOME/applet/Isql.java for an example.


-lance
--
===============================================================================
Lance J. Andersen Email: lancea@sybase.com
Sybase Technical Support Phone:(617) 564-6336
77 South Bedford Street Fax: (617) 564-6148
Burlington, MA 01803

The Dark Knight Returns!!! Let's Go Penguins!!!
===============================================================================