You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by vic banta <da...@yahoo.com> on 2003/11/21 06:54:42 UTC

Connection connection

  
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

Re: Connection connection

Posted by Kwok Peng Tuck <pe...@makmal.net>.
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


Re: Connection connection

Posted by vic banta <da...@yahoo.com>.
nevermind.. I found it :-) 

vic banta <da...@yahoo.com> 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


---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now