tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kwok Peng Tuck <pengt...@makmal.net>
Subject Re: Connection connection
Date Fri, 21 Nov 2003 06:00:52 GMT
It looks like getUser is actually passed a Connection object from 
somewhere, otherwise why pass it a Connection object.

vic banta wrote:

>  
>in the getUser() method below, it has the parameter Connection connection, .... is the
connection to the database established in this line or is a connection object being passed
to it?  I assume since it is a get method nothing is being passed to it.  
> 
> 
>  public static synchronized User getUser(Connection connection,
>    String emailAddress) throws SQLException{
> 
> 
>newbie
>
>
>---------------------------------
>Do you Yahoo!?
>Free Pop-Up Blocker - Get it now
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message