Commit Graph

13 Commits

Author SHA1 Message Date
Mark H. Wood
530d69bad8 Switch Hibernate to JCache #8099 2022-01-28 09:47:02 -05:00
j4bbi
7fc96dc148 Exposed more parameters for DBCP2 2021-03-05 13:39:34 +00:00
Kevin Van de Velde
8d4ebac101 DS-4351 Upgrade spring (boot) & hibernate to newer versions: Restore datasource 2019-12-09 14:25:04 +01:00
Samuel
e2c353d75e DS-4351 Upgrade spring (boot) & hibernate to newer versions 2019-10-25 18:21:49 +02:00
Mark H. Wood
b1742340c3 [DS-3694] Replace an inappropriate system property with a local Hibernate/EHCache property 2018-02-22 11:47:23 -05:00
Tom Desair (Atmire)
1ccd6d1e13 Ds 3552 read only context and hibernate improvements (#1694)
* Refactor READ ONLY mode in Context and adjust hibernate settings accordingly

* Set Context in READ-ONLY mode when retrieving community lists

* Fix Hibernate EHCache configuration + fix some Hibernate warnings

* Cache authorized actions and group membership when Context is in READ-ONLY mode

* Set default Context mode

* Let ConfigurableBrowse use a READ-ONLY context

* Add 2nd level cache support for Site and EPerson DSpaceObjects

* Added 2nd level caching for Community and Collection

* Fix tests and license checks

* Cache collection and community queries

* Small refactorings + backwards compatibility

* Set Context to READ-ONLY for JSPUI submissions and 'select collection' step

* OAI improvements part 1

* OAI indexing improvements part 1

* OAI indexing improvements part 2

* DS-3552: Only uncache resource policies in AuthorizeService when in read-only

* DS-3552: Additional comment on caching handles

* DS-3552: Fix cache leakage in SolrServiceResourceRestrictionPlugin

* DS-3552: Clear the read-only cache when switching Context modes

* DS-3552: Correct Group 2nd level cache size

* DS-3552: Always clear the cache, except when going from READ_ONLY to READ_ONLY
2017-06-12 13:50:45 +00:00
Tim Donohue
9d2af78158 Update Hibernate configuration to load dynamic settings via Spring / ConfigurationService. Add default DB settings back to dspace.cfg 2016-01-25 14:35:57 -06:00
Mark H. Wood
cc142cb321 [DS-2767] Try to look up a DataSource in JNDI, returning DSpace-configured DataSource if not found. 2015-12-14 16:39:34 -05:00
KevinVdV
ab060b7647 [DS-2778] Fix max connections configuration 2015-10-13 10:50:00 +02:00
KevinVdV
fd9ac839d1 [DS-2778] Properly configure BasicDataSource pool 2015-10-02 12:05:33 +02:00
KevinVdV
eeb58a8844 [DS-2758] Updating dbcp to dbcp2, upgraded the postgres driver to the latest version & fixed the database migration for unit tests. 2015-09-21 12:01:48 +02:00
KevinVdV
3918bac64b [DS-2758] Fixing the database setup so that migration depends on the DatabaseUtils commands. Migration will no longer occur on kernel init. 2015-09-21 12:01:48 +02:00
KevinVdV
54222f3c1d DSpace refactored service api 2015-08-19 11:54:32 +02:00