|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.facetmap.sql.ConnectionManager.Basic
public static class ConnectionManager.Basic
This implementation performs a primitive JDBC handling of the Connection lifecycle, taking its JDBC parameters from the Properties passed in at construction.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.facetmap.sql.ConnectionManager |
|---|
ConnectionManager.Basic, ConnectionManager.DataSourceWrapper |
| Constructor Summary | |
|---|---|
ConnectionManager.Basic(java.util.Properties props)
Construct a basic ConnectionManager. |
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionManager.Basic(java.util.Properties props)
throws DataException,
InternalException
com.facetmap.sql.jdbcDriver
- fully-qualified name of the driver classcom.facetmap.sql.jdbcUrl
- JDBC-protocol URL of the database to use, for example
jdbc:mysql://localhost:3306/databaseName?user=facetmap
DataException
InternalException| Method Detail |
|---|
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface ConnectionManagerjava.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||