From ed9d494caf774e4340bf9ac0fbf4e4436ef9750e Mon Sep 17 00:00:00 2001 From: vempo Date: Fri, 29 Dec 2017 15:36:35 +0200 Subject: Fixed default constructor in config-lib module Change-Id: Iae1758b963141df4f6369672d219348242ec796e Issue-ID: SDC-343 Signed-off-by: vempo --- .../dao/type/ApplicationConfigEntity.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'openecomp-be/lib/openecomp-core-lib') diff --git a/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/main/java/org/openecomp/core/utilities/applicationconfig/dao/type/ApplicationConfigEntity.java b/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/main/java/org/openecomp/core/utilities/applicationconfig/dao/type/ApplicationConfigEntity.java index c73ce36744..b1382b4655 100644 --- a/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/main/java/org/openecomp/core/utilities/applicationconfig/dao/type/ApplicationConfigEntity.java +++ b/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/main/java/org/openecomp/core/utilities/applicationconfig/dao/type/ApplicationConfigEntity.java @@ -34,6 +34,15 @@ public class ApplicationConfigEntity { private String key; private String value; + /** + * Every entity class must have a default constructor according to + * + * Definition of mapped classes. + */ + public ApplicationConfigEntity() { + // Don't delete! Default constructor is required by DataStax driver + } + /** * Instantiates a new Application config entity. * @@ -47,11 +56,6 @@ public class ApplicationConfigEntity { this.value = value; } - - public ApplicationConfigEntity() { - } - - public String getNamespace() { return namespace; } -- cgit 1.2.3-korg