简体   繁体   English

Spring 引导应用程序如何监听 CRUD 操作

[英]How Spring Boot Application to listen for a CRUD operations

I am just starting with Spring boot Web Applications, and I am in this point now I need to issue notification in the app ecosystem after CRUD Operation in database (I am using MySQL) How can I set up a listener and based on the operation to create a new notification.我刚刚从 Spring 启动 Web 应用程序开始,我现在在这一点上,我需要在数据库中的 CRUD 操作后在应用程序生态系统中发出通知(我正在使用 MySQL)我如何设置一个监听器并根据操作来创建一个新的通知。 From my search, I land on @EntityListeners(AuditTrailListener.class) but not sure how to use it, I will be happy to share with me some examples or to redirect me to the right place to see how to set up that kind of listener.从我的搜索中,我登陆@EntityListeners(AuditTrailListener.class)但不知道如何使用它,我很乐意与我分享一些示例或将我重定向到正确的位置以查看如何设置这种监听器.

Here's a collection of links which are providing some details about @EntityListeners with JPA in Spring Boot webapplications:这是一个链接集合,它们在 Spring 引导 web 应用程序中提供了一些关于@EntityListeners和 JPA 的详细信息:

I think you'll have common paths to seek the information you need with all that links.我认为您将有共同的途径来寻找所有链接所需的信息。 And maybe other people will help you more.也许其他人会帮助你更多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 JPA + Spring Boot:CRUD操作上的TransactionRequiredException - JPA + Spring Boot: TransactionRequiredException on CRUD operations Spring 启动,在抽象服务中存储 CRUD 操作 - Spring boot, storing CRUD operations in abstract service Spring 引导:使用 BaseController 进行 CRUD 操作时如何防止 URL 覆盖 - Spring Boot: How to prevent URL override when using a BaseController for CRUD operations Spring Boot CRUD应用程序-找不到Bean错误 - Spring boot CRUD application - Bean not found error Spring 引导 CRUD 应用程序与 Thymeleaf - BindingResult 结果 - Spring Boot CRUD Application with Thymeleaf - BindingResult result 在 Spring Boot 中无法通过 Neo4j 实现 CRUD 操作 - Cannot implement CRUD operations through Neo4j in Spring Boot Spring 引导/数据:用于 crud 操作的通用服务 class - Spring Boot/Data: Generic service class for crud operations 使用 hibernate 启动引导 CRUD 操作 - Spirng Boot CRUD operations with hibernate 如何在 Spring 引导中使用 CRUD 链接三个表 - How to Link Three Tables with CRUD in Spring Boot 如何在 Spring Boot 应用程序中使用 Spring Security 监听登录/注销事件? - How to listen for login/logout events using Spring Security in a Spring Boot application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM