mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 18:44:22 +00:00
Add new CacheableDSpaceObject abstract class for Hibernate second-level caching. Required in Hibernate 6 as subclasses cannot use @Cache annotation
This commit is contained in:
@@ -52,7 +52,7 @@ import org.dspace.eperson.Group;
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "collection")
|
||||
public class Collection extends DSpaceObject implements DSpaceObjectLegacySupport {
|
||||
public class Collection extends CacheableDSpaceObject implements DSpaceObjectLegacySupport {
|
||||
|
||||
@Column(name = "collection_id", insertable = false, updatable = false)
|
||||
private Integer legacyId;
|
||||
|
Reference in New Issue
Block a user