|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hsqldb.Database
Database is the root class for HSQL Database Engine database.
Although it either directly or indirectly provides all or most of the services required for DBMS functionality, this class should not be used directly by an application. Instead, to achieve portability and generality, the JDBC interface classes should be used.
Method Summary | |
void |
finalize()
Called by the garbage collector on this Databases object when garbage collection determines that there are no more references to it. |
Table |
getTable(String name,
Session session)
Retrieves the specified user-defined table or view visible within the context of the specified Session, or any system table of the given name. |
HsqlArrayList |
getTables()
Retrieves a HsqlArrayList containing references to all non-system tables and views. |
boolean |
isFilesInJar()
|
void |
setReferentialIntegrity(boolean ref)
isReferentialIntegrity attribute setter. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean isFilesInJar()
public HsqlArrayList getTables()
linkTable
.
public void setReferentialIntegrity(boolean ref)
ref
- if true, this Database object enforces referential
integrity, else notpublic Table getTable(String name, Session session) throws HsqlException
name
- of the table or view to retrievesession
- the Session within which to search for user tables
HsqlException
- if there is no such table or viewpublic void finalize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |