You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/01/29 08:22:36 UTC
[isis] branch master updated: ISIS-2950: [Demo] fixes CommandRepository provisioning for JPA
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 6219d70 ISIS-2950: [Demo] fixes CommandRepository provisioning for JPA
6219d70 is described below
commit 6219d70e324807411e7bb80a961b979353cc80a7
Author: Andi Huber <ah...@apache.org>
AuthorDate: Sat Jan 29 09:22:27 2022 +0100
ISIS-2950: [Demo] fixes CommandRepository provisioning for JPA
---
.../dom/domain/_commands/ExposePersistedCommands_commands.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/_commands/ExposePersistedCommands_commands.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/_commands/ExposePersistedCommands_commands.java
index d857ee6..518c571 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/_commands/ExposePersistedCommands_commands.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/_commands/ExposePersistedCommands_commands.java
@@ -24,8 +24,8 @@ import javax.inject.Inject;
import org.apache.isis.applib.annotation.Collection;
import org.apache.isis.applib.annotation.CollectionLayout;
-import org.apache.isis.extensions.commandlog.jdo.entities.CommandJdoRepository;
import org.apache.isis.extensions.commandlog.model.command.CommandModel;
+import org.apache.isis.extensions.commandlog.model.command.CommandModelRepository;
import lombok.RequiredArgsConstructor;
@@ -40,9 +40,9 @@ public class ExposePersistedCommands_commands {
//tag::class[]
public List<? extends CommandModel> coll() {
- return commandJdoRepository.findCompleted();
+ return commandModelRepository.findCompleted();
}
- @Inject CommandJdoRepository commandJdoRepository;
+ @Inject CommandModelRepository<? extends CommandModel> commandModelRepository;
}
//end::class[]