|
|||||||||
| Home >> All >> org >> [ hsql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.hsql
Class jdbcDataSource

java.lang.Objectorg.hsql.jdbcDataSource
- All Implemented Interfaces:
- javax.sql.DataSource, javax.naming.Referenceable, java.io.Serializable
- public class jdbcDataSource
- extends java.lang.Object
- implements java.io.Serializable, javax.naming.Referenceable, javax.sql.DataSource
- extends java.lang.Object
Insert the type's description here. Creation date: (10/19/2000 2:26:43 PM)
| Field Summary | |
private java.lang.String |
database
Database location |
private int |
loginTimeout
Login timeout |
private java.io.PrintWriter |
logWriter
Log writer |
private java.lang.String |
password
Default password to use for connections |
private static java.lang.String |
sStartURL
Signature |
private java.lang.String |
user
Default user to use for connections |
| 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
loginTimeout
private int loginTimeout
- Login timeout
logWriter
private transient java.io.PrintWriter logWriter
- Log writer
password
private java.lang.String password
- Default password to use for connections
user
private java.lang.String user
- Default user to use for connections
sStartURL
private static final java.lang.String sStartURL
- Signature
- See Also:
- Constant Field Values
database
private java.lang.String database
- Database location
| Constructor Detail |
jdbcDataSource
public jdbcDataSource()
- Constructor
| Method Detail |
getConnection
public java.sql.Connection getConnection() throws java.sql.SQLException
- Forward with current user/password
- Specified by:
getConnectionin interfacejavax.sql.DataSource
getConnection
public java.sql.Connection getConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
- getConnection method comment.
- Specified by:
getConnectionin interfacejavax.sql.DataSource
getDatabase
public java.lang.String getDatabase()
- Return database
getLoginTimeout
public int getLoginTimeout()
throws java.sql.SQLException
- getLoginTimeout method comment.
- Specified by:
getLoginTimeoutin interfacejavax.sql.DataSource
getLogWriter
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
- getLogWriter method comment.
- Specified by:
getLogWriterin interfacejavax.sql.DataSource
getReference
public javax.naming.Reference getReference() throws javax.naming.NamingException
- getReference method comment.
- Specified by:
getReferencein interfacejavax.naming.Referenceable
getUser
public java.lang.String getUser()
setDatabase
public void setDatabase(java.lang.String database)
- Set database location
setLoginTimeout
public void setLoginTimeout(int ignore)
throws java.sql.SQLException
- Not yet implemented
- Specified by:
setLoginTimeoutin interfacejavax.sql.DataSource
setLogWriter
public void setLogWriter(java.io.PrintWriter logWriter) throws java.sql.SQLException
- setLogWriter method comment.
- Specified by:
setLogWriterin interfacejavax.sql.DataSource
setPassword
public void setPassword(java.lang.String password)
- Sets the password to use for connecting to the database
setUser
public void setUser(java.lang.String user)
- Sets the userid
|
|||||||||
| Home >> All >> org >> [ hsql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.hsql.jdbcDataSource