Hi Sanjay,
it is called singleton design pattern in OO paradigms.
you can have a static method(like getInstance())
which would check for the existence of instance,
returns it if it exists or creates and returns if
one does not exist.
hope this helps you,
vishnu.
-Original Message-
From: S
may be, check the format of url string
-Original Message-
From: John Pallozzi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 11:07 AM
To: [EMAIL PROTECTED]
Subject: Problem calling Oracle
Hello,
I am trying to do a "proof of concept" exercise where I am trying to call
an O
de is
Vishnu Akkaraju, Software Engineer(Consultant)
ElderVision
215 Allegheny Avenue
Oakmont PA 15139 USA
(412) 826-0460 voice
(412) 826-0155 fax
(412) 820-7344 home
[EMAIL PROTECTED]
www.eldervision.net
=
hi,
construct current time & date as
java.sql.Timestamp ts = new
java.sql.Timestamp(System.getCurrentTimeMillis());
and then use
pstmt.setTimestamp(..,ts);
hope this helps you
vishnu.
-Original Message-
From: Louis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 5
?
Thanx again...
Cheers,
Jam.
- Original Message -
From: Vishnu Akkaraju <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 15, 2000 9:19 PM
Subject: Re: current time to java.sql.Date
> hi,
>
> construct current time & date
technet.oracle.com/documentation/data servers-oracle8i/general
documentation/java developers guide/...
there is sample code
-Original Message-
From: Christian Hamann Linares [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 22, 2000 5:43 PM
To: [EMAIL PROTECTED]
Subject: Re: session ex