All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
DSpace 6 database schema (Postgres). Right-click the image and choose "Save as" to save in full resolution. Instructions on updating this schema diagram are in How to update database schema diagram.
org.dspace.storage.rdbms.DatabaseUtils
class manages all Flyway API calls, and executes the SQL migrations under the org.dspace.storage.rdbms.sqlmigration
package and the Java migrations under the org.dspace.storage.rdbms.migration
package. GroupServiceInitializer
), default Metadata & Format Registries (DatabaseRegistryUpdater
), and the default Site object (SiteServiceInitializer
). All Callbacks are under the org.dspace.storage.rdbms
package.[dspace]/config/hibernate.cfg.xml
[dspace]/config/spring/api/core-hibernate.xml
. This Spring configuration pulls in some settings from DSpace Configuration, namely all Database (db.*) settings defined there.org.dspace.core.GenericDAO
class. The default (abstract) implementation is in org.dspace.core.AbstractHibernateDAO
class.org.dspace.core.Context
) provides access to the configured org.dspace.core.DBConnection
(Database Connection), which is HibernateDBConnection by default. The org.dspace.core.HibernateDBConnection
class provides access the the Hibernate Session interface (org.hibernate.Session) and its Transactions. Context.uncacheEntity()
) or reload (Context.reloadEntity()
) objects within Hibernate's Session cache.Mode.READ_ONLY
) or batch processing (Mode.BATCH_EDIT
). These modes can be specified when constructing a new Context object[dspace]/config/hibernate.cfg.xml
[dspace]/config/spring/api/core-hibernate.xml
. This Spring configuration pulls in some settings from DSpace Configuration, namely all Database (db.*) settings defined there.org.dspace.core.GenericDAO
class. The default (abstract) implementation is in org.dspace.core.AbstractHibernateDAO
class.org.dspace.core.Context
) provides access to the configured org.dspace.core.DBConnection
(Database Connection), which is HibernateDBConnection by default. The org.dspace.core.HibernateDBConnection
class provides access the the Hibernate Session interface (org.hibernate.Session) and its Transactions. Context.uncacheEntity()
) or reload (Context.reloadEntity()
) objects within Hibernate's Session cache.Mode.READ_ONLY
) or batch processing (Mode.BATCH_EDIT
). These modes can be specified when constructing a new Context object.org.dspace.storage.rdbms.DatabaseUtils
class manages all Flyway API calls, and executes the SQL migrations under the org.dspace.storage.rdbms.sqlmigration
package and the Java migrations under the org.dspace.storage.rdbms.migration
package. GroupServiceInitializer
), default Metadata & Format Registries (DatabaseRegistryUpdater
), and the default Site object (SiteServiceInitializer
). All Callbacks are under the org.dspace.storage.rdbms
package.Most of the functionality that DSpace uses can be offered by any standard SQL database that supports transactions. However, at this time, DSpace only provides Flyway migration scripts for PostgreSQL and Oracle (and has only been tested with those database backends). Additional database backends should be possible, but would minimally require creating custom Flyway migration scripts for that database backend.
...