|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.hsqldb.jdbcDataSource
Constructor Summary | |
jdbcDataSource()
Constructor |
Method Summary | |
java.sql.Connection |
getConnection()
Forward with current user/password |
java.sql.Connection |
getConnection(java.lang.String user,
java.lang.String password)
getConnection method comment. |
java.lang.String |
getDatabase()
Return database |
int |
getLoginTimeout()
getLoginTimeout method comment. |
java.io.PrintWriter |
getLogWriter()
getLogWriter method comment. |
javax.naming.Reference |
getReference()
getReference method comment. |
java.lang.String |
getUser()
|
void |
setDatabase(java.lang.String database)
Set database location |
void |
setLoginTimeout(int ignore)
Not yet implemented |
void |
setLogWriter(java.io.PrintWriter logWriter)
setLogWriter method comment. |
void |
setPassword(java.lang.String password)
Sets the password to use for connecting to the database |
void |
setUser(java.lang.String user)
Sets the userid |
Constructor Detail |
public jdbcDataSource()
Method Detail |
public java.sql.Connection getConnection() throws java.sql.SQLException
public java.sql.Connection getConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
public java.lang.String getDatabase()
public int getLoginTimeout() throws java.sql.SQLException
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
public java.lang.String getUser()
public void setDatabase(java.lang.String database)
public void setLoginTimeout(int ignore) throws java.sql.SQLException
public void setLogWriter(java.io.PrintWriter logWriter) throws java.sql.SQLException
public void setPassword(java.lang.String password)
password
- the passwordpublic void setUser(java.lang.String user)
user
- the user id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |