Upgrade to Hibernate6 and Jaxb4 (#2526)

* Rebase

* Addressing commetns

* Addressing comments

* Auto convert Duration and Money
This commit is contained in:
Weimin Yu
2024-09-03 18:02:53 +00:00
committed by GitHub
parent bac4e22bff
commit d9ad39cdad
379 changed files with 4162 additions and 4354 deletions
@@ -14,7 +14,7 @@
package google.registry.util;
import javax.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlEnumValue;
/** Utility methods related to xml enums. */
public class XmlEnumUtils {
@@ -17,7 +17,7 @@ package google.registry.util;
import static google.registry.util.PreconditionsUtils.checkArgumentNotNull;
import com.google.common.collect.ImmutableMap;
import javax.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlEnumValue;
/** Efficient lookup from xml enums to java enums */
public final class XmlToEnumMapper<T extends Enum<?>> {