You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2021/12/10 10:28:26 UTC

[syncope] branch master updated: Fixing MySQL JSON startup

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new 380fdf0  Fixing MySQL JSON startup
380fdf0 is described below

commit 380fdf0edb47cc5765e978cca4e2ef7c6b023735
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Dec 10 11:28:18 2021 +0100

    Fixing MySQL JSON startup
---
 .../syncope/core/persistence/jpa/MyJPAJSONPersistenceContext.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/persistence-jpa-json/src/main/java/org/apache/syncope/core/persistence/jpa/MyJPAJSONPersistenceContext.java b/core/persistence-jpa-json/src/main/java/org/apache/syncope/core/persistence/jpa/MyJPAJSONPersistenceContext.java
index 49e4d63..da88cba 100644
--- a/core/persistence-jpa-json/src/main/java/org/apache/syncope/core/persistence/jpa/MyJPAJSONPersistenceContext.java
+++ b/core/persistence-jpa-json/src/main/java/org/apache/syncope/core/persistence/jpa/MyJPAJSONPersistenceContext.java
@@ -54,7 +54,7 @@ public class MyJPAJSONPersistenceContext extends JPAJSONPersistenceContext {
     @ConditionalOnMissingBean(name = "myJPAJSONAnyDAO")
     @Bean
     @Autowired
-    public JPAJSONAnyDAO anyDAO(final PlainSchemaDAO plainSchemaDAO) {
+    public JPAJSONAnyDAO anyDAO(final @Lazy PlainSchemaDAO plainSchemaDAO) {
         return new MyJPAJSONAnyDAO(plainSchemaDAO);
     }