Resolve warnings in the Hibernate log (#542)

This commit is contained in:
Shicong Huang
2020-04-03 18:04:55 -04:00
committed by GitHub
parent bf4659f11c
commit 1ded33ecea
2 changed files with 3 additions and 7 deletions
+1 -6
View File
@@ -4,15 +4,10 @@
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence/orm
http://xmlns.jcp.org/xml/ns/persistence/orm_2_2.xsd"
version="2.2">
<embeddable class="org.joda.money.Money" access="FIELD">
<attributes>
<embedded name="money" access="FIELD"/>
</attributes>
</embeddable>
<embeddable class="org.joda.money.Money" access="FIELD" />
<embeddable class="org.joda.money.BigMoney" access="FIELD">
<attributes>
<basic name="amount" access="FIELD"/>
<basic name="currency" access="FIELD"/>
</attributes>
</embeddable>
</entity-mappings>