Upgrade to the Jakarta Persistence API 4.0
- Replace
executeUpdate calls on Query, to be replaced with Statement.execute
- Revisit for-removal deprecations on
Query (getResult*() methods, setCache*(…) methods, setLockMode(), setMaxResult, setFirstResult methods)
- Investigate where we could use
TypedQuery and introduce wrappers to defer calls to the Query interface
Upgrade to the Jakarta Persistence API 4.0
executeUpdatecalls onQuery, to be replaced withStatement.executeQuery(getResult*()methods,setCache*(…)methods,setLockMode(),setMaxResult,setFirstResultmethods)TypedQueryand introduce wrappers to defer calls to theQueryinterface