|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.pgsql.common.BaseDao
public class BaseDao
Provides functionality common to all dao implementations.
| Constructor Summary | |
|---|---|
protected |
BaseDao(DatabaseContext dbCtx)
Creates a new instance. |
| Method Summary | |
|---|---|
protected DatabaseContext |
getDatabaseContext()
Provides access to the database context. |
protected java.sql.PreparedStatement |
prepareStatement(java.lang.String sql)
Creates a new database prepared statement. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseDao(DatabaseContext dbCtx)
dbCtx - The database context to use for accessing the database.| Method Detail |
|---|
protected DatabaseContext getDatabaseContext()
protected java.sql.PreparedStatement prepareStatement(java.lang.String sql)
sql - The statement to be created.
public void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||