Automatically apply JPA type converters (#305)

* Automatically apply JPA type converters

* Include converters in tests and schema generation too
This commit is contained in:
Ben McIlwain
2019-10-08 13:16:39 -04:00
committed by GitHub
parent 0fd7cf29b5
commit 5dc058ec99
11 changed files with 25 additions and 20 deletions
@@ -32,6 +32,10 @@
<class>google.registry.model.transfer.TransferData</class>
<class>google.registry.model.eppcommon.Trid</class>
<!-- Customized type converters -->
<class>google.registry.persistence.CreateAutoTimestampConverter</class>
<class>google.registry.persistence.UpdateAutoTimestampConverter</class>
<!-- TODO(weiminyu): check out application-layer validation. -->
<validation-mode>NONE</validation-mode>
</persistence-unit>