|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.mmbase.storage.implementation.database.DatabaseStorageManager
org.mmbase.storage.implementation.database.RelationalDatabaseStorageManager
public class RelationalDatabaseStorageManager
A JDBC implementation of a storage manager for relational databases.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.mmbase.storage.implementation.database.DatabaseStorageManager |
|---|
DatabaseStorageManager.InputStreamBlob |
| Field Summary |
|---|
| Fields inherited from class org.mmbase.storage.implementation.database.DatabaseStorageManager |
|---|
activeConnection, changes, factory, inTransaction, OBJ2TYPE_MAX_SIZE, sequenceKeys, transactionIsolation, typeCache |
| Constructor Summary | |
|---|---|
RelationalDatabaseStorageManager()
|
|
| Method Summary | |
|---|---|
void |
change(MMObjectNode node,
MMObjectBuilder builder)
Changes a node in the passed builder and all its parent builders |
void |
create(MMObjectNode node,
MMObjectBuilder builder)
Adds a node to the passed builder and all its parent builders. |
void |
delete(MMObjectNode node,
MMObjectBuilder builder)
Deletes a node in the passed builder and all its parent builders. |
double |
getVersion()
Returns the version of this factory implementation. |
protected void |
simpleCreate(MMObjectNode node,
MMObjectBuilder builder)
Actual implementation of create(MMObjectNode, MMObjectBuilder) which wraps this in a
transction only, now. |
protected boolean |
tablesInheritFields()
Returns whether tables inherit fields form parent tables. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelationalDatabaseStorageManager()
| Method Detail |
|---|
public double getVersion()
StorageManager
getVersion in interface StorageManager<DatabaseStorageManagerFactory>getVersion in class DatabaseStorageManagerprotected boolean tablesInheritFields()
DatabaseStorageManager
tablesInheritFields in class DatabaseStorageManagertrue,
protected void simpleCreate(MMObjectNode node,
MMObjectBuilder builder)
throws StorageException
create(MMObjectNode, MMObjectBuilder) which wraps this in a
transction only, now.
StorageException
public void create(MMObjectNode node,
MMObjectBuilder builder)
throws StorageException
create in class DatabaseStorageManagernode - The node to insert. The node already needs to have a (new) number assignedbuilder - the builder to store the node
StorageException - if an error occurred during creation
public void change(MMObjectNode node,
MMObjectBuilder builder)
throws StorageException
change in class DatabaseStorageManagernode - The node to changebuilder - the builder to change the node in
StorageException - if an error occurred during change
public void delete(MMObjectNode node,
MMObjectBuilder builder)
throws StorageException
delete in class DatabaseStorageManagernode - The node to deletebuilder - the builder to delete the node in
StorageException - if an error occurred during delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||