]> git.mxchange.org Git - jfinancials-ejb.git/commitdiff
registered new entities ... Yeah, you can annotate your POJOs as @Entity, still
authorRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 20:42:12 +0000 (22:42 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 20:42:12 +0000 (22:42 +0200)
you need to register them in the persistence unit file.

Signed-off-by: Roland Häder <roland@mxchange.org>
src/conf/persistence.xml

index de2c91b8ee7e01d645a8db3a851617aa8daae6fb..5bb8192d07c6c3a9dea66de9b96db8e3c969c855 100644 (file)
@@ -13,7 +13,8 @@
     <class>org.mxchange.jcontactsbusiness.logo.CompanyLogo</class>
     <class>org.mxchange.jcontactsbusiness.opening_times.BusinessOpeningTimes</class>
     <class>org.mxchange.jcountry.data.CountryData</class>
-    <class>org.mxchange.jfinancials.model.receipt.Receipt</class>
+    <class>org.mxchange.jfinancials.model.income.FinancialIncome</class>
+    <class>org.mxchange.jfinancials.model.receipt.FinancialReceipt</class>
     <class>org.mxchange.jfinancials.model.receipt.entry.ReceiptEntry</class>
     <class>org.mxchange.jphone.phonenumbers.fax.FaxNumber</class>
     <class>org.mxchange.jphone.phonenumbers.landline.LandLineNumber</class>