com.compoze.ejb
Interface IDatabaseConnectionFactory
- public interface IDatabaseConnectionFactory
Classes that implement this interface are capable of creating a connection
to a database.
createConnection
public java.sql.Connection createConnection(User caller)
throws javax.naming.NamingException,
java.sql.SQLException
- Creates a database connection.
- Parameters:
caller
- the caller (may be used to by the factory to select a different DataSource
)- Returns:
- the database connection
- Throws:
javax.naming.NamingException
- if a naming exception occurredjava.sql.SQLException
- if an SQL exception occurred
Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.