|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public jdbcDataSource()
Method Detail |
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
java.sql.SQLException
public java.sql.Connection getConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
java.sql.SQLException
public java.lang.String getDatabase()
public int getLoginTimeout() throws java.sql.SQLException
getLoginTimeout
in interface javax.sql.DataSource
java.sql.SQLException
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
getLogWriter
in interface javax.sql.DataSource
java.sql.SQLException
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
public java.lang.String getUser()
public void setDatabase(java.lang.String database)
public void setLoginTimeout(int ignore) throws java.sql.SQLException
setLoginTimeout
in interface javax.sql.DataSource
java.sql.SQLException
public void setLogWriter(java.io.PrintWriter logWriter) throws java.sql.SQLException
setLogWriter
in interface javax.sql.DataSource
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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |