Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

PHR-7233 - Move commons-hibernate optimizer to pkb-common #41

Merged

Conversation

DMWhiteley
Copy link
Contributor

Moves ResettablePooledLoOptimizer to pkb-common. This is a hibernate-specific resource, and we don't want to entwine it with the phr data structures unnecessarily. Some services will use this even though they don't otherwise need access to omni, i.e. services which maintain their own databases.

Added in suppressions for hibernate-core previously ignored in commons-hibernate repo.

@DMWhiteley DMWhiteley added the team/PHRA Team PHRA label Oct 12, 2020
ratkayandras
ratkayandras previously approved these changes Oct 15, 2020
Copy link

@ratkayandras ratkayandras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

symore
symore previously approved these changes Oct 15, 2020
Copy link
Contributor

@symore symore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My concern is that this change pulls in hibernate dependencies transitively into dependant projects that might not work with hibernate. Otherwise if i imagine pkb-common as a library containing supportive stuff, this can go trough.
However, making large common libraries can highly complicate dependency hierarchies.

@DMWhiteley DMWhiteley dismissed stale reviews from symore and ratkayandras via dc5ddb3 October 19, 2020 15:11
@DMWhiteley DMWhiteley marked this pull request as ready for review October 20, 2020 08:51
Copy link
Contributor

@symore symore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@DMWhiteley DMWhiteley merged commit e9dff88 into master Oct 20, 2020
@DMWhiteley DMWhiteley deleted the feature/PHR-7233_move_hibernate_resources_to_pkb_common branch October 20, 2020 09:03
MFAshby pushed a commit that referenced this pull request Jul 5, 2022
…bernate_resources_to_pkb_common

PHR-7233 - Move commons-hibernate optimizer to pkb-common
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
team/PHRA Team PHRA
Projects
None yet
3 participants