From ccc178111ca862384460cdd0fcc049567482ae20 Mon Sep 17 00:00:00 2001 From: Rakhi Agrawal Date: Thu, 15 Feb 2024 11:17:38 -0800 Subject: [PATCH] Added default constructor (#358) --- .../metadata/dao/EbeanLocalRelationshipQueryDAO.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dao-impl/ebean-dao/src/main/java/com/linkedin/metadata/dao/EbeanLocalRelationshipQueryDAO.java b/dao-impl/ebean-dao/src/main/java/com/linkedin/metadata/dao/EbeanLocalRelationshipQueryDAO.java index 63bdf4bcf..832d4f8d6 100644 --- a/dao-impl/ebean-dao/src/main/java/com/linkedin/metadata/dao/EbeanLocalRelationshipQueryDAO.java +++ b/dao-impl/ebean-dao/src/main/java/com/linkedin/metadata/dao/EbeanLocalRelationshipQueryDAO.java @@ -42,6 +42,12 @@ public EbeanLocalRelationshipQueryDAO(EbeanServer server, EBeanDAOConfig eBeanDA _sqlGenerator = new MultiHopsTraversalSqlGenerator(SUPPORTED_CONDITIONS); } + public EbeanLocalRelationshipQueryDAO(EbeanServer server) { + _server = server; + _eBeanDAOConfig = new EBeanDAOConfig(); + _sqlGenerator = new MultiHopsTraversalSqlGenerator(SUPPORTED_CONDITIONS); + } + static final Map SUPPORTED_CONDITIONS = Collections.unmodifiableMap(new HashMap() { {