Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some care is needed to properly utilize the hibernate cache.

Context Configurations

The DSpace Context Object can be constructed as a read-only context or a batch context.  This mode determines how hibernate will flush changes to the database.

See https://github.com/DSpace/DSpace/blob/dspace-6.1/dspace-api/src/main/java/org/dspace/core/HibernateDBConnection.java#L148-L156

Read Only Context in DSpace 6

...