Article View: borland.public.jbuilder.java.language
Article #15227How to avoid PrintStream() ?
From: Anton Grad
Date: Wed, 07 Jul 1999 00:00
Date: Wed, 07 Jul 1999 00:00
17 lines
1022 bytes
1022 bytes
Hi everybody! I use JBuilder 2 and have the following problem: I want to create a log-file of a Database-Connection and I use for this task the method java.sql.DriverManager.setLogStream(). But this requires as argument a PrintStream-Object. I allways get the warning "constructor PrintStream(OutputStream out) in class java.io.PrintStream has been deprecated" and I haven't found a way how to solve it different. Anybody has an idea to avoid this? Thanks in advance Toni
Technical Details
Message-ID:
<37832263.6F5B2F45@fh-rosenheim.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,7723955d22b255fd,start X-Google-Attributes: gidf74b3,public From: Anton Grad <anton.grad@fh-rosenheim.de> Subject: How to avoid PrintStream() ? Date: 1999/07/07 Message-ID: <37832263.6F5B2F45@fh-rosenheim.de> X-Deja-AN: 498087663 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language