]> git.mxchange.org Git - jcontacts-business-core.git/commitdiff
added missing cascade type, at least MERGE + updated jar(s)
authorRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 14:21:27 +0000 (16:21 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 11:16:17 +0000 (13:16 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcontacts-core.jar
lib/jcountry-core.jar
lib/jphone-core.jar
src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java

index 588f0e34e77622c6568476b940a2c8377d868844..0366960c7a937add1673cd47c2056907661b0a6d 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index eaf6110dd5bb7767f1dd977ab8ec1a5ff5f8e05c..0bead8b648f4af014405b55d7156804a57dfe9ba 100644 (file)
Binary files a/lib/jcountry-core.jar and b/lib/jcountry-core.jar differ
index 9637788dea980962faa7693e89d80d6fcd735f66..eec6972ea0bf3abb4183919486c5384cd4c89967 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index 5395fb7592a84869641d376bec3dc4372a9276c3..c7796ce9236b652790f2f63f8c76f57f00b729f5 100644 (file)
@@ -60,7 +60,7 @@ public class CompanyHeadQuartersData implements HeadQuartersData, Comparable<Hea
         * Headquarter's country code
         */
        @JoinColumn (name = "headquarters_country_id", nullable = false)
-       @OneToOne (targetEntity = CountryData.class, optional = false, fetch = FetchType.EAGER)
+       @OneToOne (targetEntity = CountryData.class, cascade = CascadeType.MERGE, optional = false, fetch = FetchType.EAGER)
        private Country headquartersCountry;
 
        /**