You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/08/16 21:54:31 UTC

[isis-app-helloworld] branch jpa-SNAPSHOT updated: updates to non-deprecated class

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

danhaywood pushed a commit to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-helloworld.git


The following commit(s) were added to refs/heads/jpa-SNAPSHOT by this push:
     new 01e5f28  updates to non-deprecated class
01e5f28 is described below

commit 01e5f2838d92455fc50267978fd411d225b45253
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Aug 16 22:54:21 2021 +0100

    updates to non-deprecated class
---
 src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java b/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java
index 8a5ad9a..cc30575 100644
--- a/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java
+++ b/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java
@@ -15,7 +15,7 @@ import org.apache.isis.applib.annotation.Title;
 import org.apache.isis.applib.services.message.MessageService;
 import org.apache.isis.applib.services.repository.RepositoryService;
 import org.apache.isis.applib.services.title.TitleService;
-import org.apache.isis.persistence.jpa.applib.integration.JpaEntityInjectionPointResolver;
+import org.apache.isis.persistence.jpa.applib.integration.IsisEntityListener;
 
 import domainapp.modules.hello.types.Name;
 import domainapp.modules.hello.types.Notes;
@@ -28,7 +28,7 @@ import domainapp.modules.hello.types.Notes;
                 @javax.persistence.UniqueConstraint(name = "HelloWorldObject__name__UNQ", columnNames = {"name"})
         }
 )
-@javax.persistence.EntityListeners(JpaEntityInjectionPointResolver.class) // injection support
+@javax.persistence.EntityListeners(IsisEntityListener.class) // injection support
 @DomainObject(logicalTypeName = "hello.HelloWorldObject", entityChangePublishing = Publishing.ENABLED)
 @DomainObjectLayout()  // causes UI events to be triggered
 public class HelloWorldObject implements Comparable<HelloWorldObject> {