All Packages Class Hierarchy This Package Previous Next Index
Class com.lgeds.jdf.db.pool.JdbcConnSpec
java.lang.Object
|
+----com.lgeds.jdf.db.pool.JdbcConnSpec
- public class JdbcConnSpec
- extends Object
-
JdbcConnSpec(Properties)
-
-
JdbcConnSpec(String, String, String, String)
-
-
equals(JdbcConnSpec)
-
-
getDriver()
-
-
getPassword()
-
-
getProperties()
-
-
getURL()
-
-
getUser()
-
JdbcConnSpec
public JdbcConnSpec(String driver,
String url,
String user,
String password)
- Parameters:
- driver - JdbcDriver : "oracle.jdbc.driver.OracleDriver"
- url - Connection URL : "jdbc:oracle:thin:@power:1521:ORA8i"
- user - USER : "scott"
- password - Password : tiger"
- See Also:
- JdbcConnSpec
JdbcConnSpec
public JdbcConnSpec(Properties props)
- Parameters:
- props - Connection Properties :
include "driver", "url", "user", "password" and others you want. The other properties
will be used when "DriverManager.getConnection(url, props)" is called.
equals
public boolean equals(JdbcConnSpec spec)
- Parameters:
- spec - com.lgeds.jdf.db.pool.JdbcConnSpec
- Returns:
- return true if all of driver, url, user and password is the same.
getDriver
public String getDriver()
- Returns:
- The string representation of the JDBC driver.
getPassword
public String getPassword()
- Returns:
- password
getProperties
public Properties getProperties()
- Returns:
- java.util.Properties included driver, url, user, password and others.
getURL
public String getURL()
- Returns:
- The string representation of DB Connection URL.
getUser
public String getUser()
- Returns:
- user ID for connection.
All Packages Class Hierarchy This Package Previous Next Index