Task #13184 (new)
Opened 3 years ago
RFE: replace deprecated Hibernate annotations
| Reported by: | mtbcarroll | Owned by: | jamoore |
|---|---|---|---|
| Priority: | minor | Milestone: | n.a. |
| Component: | ORM | Version: | OMERO-5.2.0 |
| Keywords: | n.a. | Cc: | server@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
object.vm uses deprecated annotations:
- CascadeType.DELETE_ORPHAN: We should move to specifying orphanRemoval=true on @OneToOne or (more probably?) @OneToMany.
- CascadeType.EVICT: We should move to using EJB's CascadeType.DETACH.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.