rubbish.db.manager
クラス DatabaseManager

java.lang.Object
  拡張rubbish.db.manager.DatabaseManager

public class DatabaseManager
extends java.lang.Object

データベースマネージャ

バージョン:
$Revision: 1.5 $
作成者:
$Author: winebarrel $

フィールドの概要
protected static Connector connector
           
protected static java.util.Map dbhpool
           
 
コンストラクタの概要
DatabaseManager()
           
 
メソッドの概要
static void commit()
           
static void disconnect()
           
static TransactedDatabase getDatabase()
           
static void rollback()
           
static void setConnector(Connector connector)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

dbhpool

protected static java.util.Map dbhpool

connector

protected static Connector connector
コンストラクタの詳細

DatabaseManager

public DatabaseManager()
メソッドの詳細

setConnector

public static void setConnector(Connector connector)

getDatabase

public static TransactedDatabase getDatabase()
                                      throws SQLRuntimeException
例外:
SQLRuntimeException

disconnect

public static void disconnect()
                       throws SQLRuntimeException
例外:
SQLRuntimeException

commit

public static void commit()
                   throws SQLRuntimeException
例外:
SQLRuntimeException

rollback

public static void rollback()
                     throws SQLRuntimeException
例外:
SQLRuntimeException


Copyright © 2007 null. All Rights Reserved.