public final class JNDIDataSource extends Object
Constructor and Description |
---|
JNDIDataSource() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the SQL data source name.
|
String |
getPassword()
Returns the user's password.
|
String |
getURL()
Returns the database URL of the form jdbc:subprotocol:subname.
|
String |
getUser()
Returns the database user on whose behalf the connection is being made.
|
void |
setName(String name)
Specifies the SQL data source name.
|
void |
setPassword(String password)
Specifies the user's password.
|
void |
setURL(String url)
Specifies the database URL of the form jdbc:subprotocol:subname.
|
void |
setUser(String user)
Specifies the database user that made the connection.
|
public String getURL()
public void setURL(String url)
public String getUser()
public void setUser(String user)
public String getPassword()
public void setPassword(String password)
public String getName()
public void setName(String name)