tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dudley Irish <>
Subject Re: Error with JDBC connecting from servlet
Date Mon, 17 Jul 2000 21:31:41 GMT
It means using something like the following to connect to the database
rather than getting the connection information from configuration

   _iobjConnection = DriverManager.getConnection( new String( "jdbc:oracle:thin:@(DESCRIPTION=
= ORCL))  )" ), this.get_isDBUserName(), this.get_isDBPassword());

What makes this frustrating for me is that get_isDBUserName(),
get_isDBPassword() are fetching information from the configuration
file and to make matters worse the configuration file has a line to
specify the database but the code doesn't use it.

Dudley Irish

View raw message