Commits
Tarun Sukhani authored 97e2fb10e53
chore(jpa): suppress JPA 3.2 PersistenceUnitTransactionType removal warnings
The SPI type jakarta.persistence.spi.PersistenceUnitTransactionType is
deprecated for removal in JPA 3.2 in favor of the new
jakarta.persistence.PersistenceUnitTransactionType. We can't migrate
yet — PersistenceUnitInfo.getTransactionType() in the SPI interface
still returns the deprecated type, so any implementer is forced to
keep the old enum to satisfy the contract. The suppression goes away
when JPA 4.0 ships an updated SPI signature.
Class-level @SuppressWarnings("removal") covers all five occurrences
(field, getter, two setters); a comment pins down why the suppression
is necessary so future maintainers don't strip it without checking.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>