Java 是否可以使用EclipseLink HistoryPolicy跟踪用户活动?
我正在使用EclipseLink HistoryPolicy跟踪实体的更改,并且我的实体具有Java 是否可以使用EclipseLink HistoryPolicy跟踪用户活动?,java,jpa,eclipselink,history,user-activity,Java,Jpa,Eclipselink,History,User Activity,我正在使用EclipseLink HistoryPolicy跟踪实体的更改,并且我的实体具有CREATEDBY和UPDATEDBY属性 有了这些属性和EclipseLink历史查询的帮助,我可以获得用户在一段时间内与特定实体相关的活动吗 比如说 -User1 created an employee with the id of 34 at 2016-04-22 13:53:44 -User2 updated an employee with the id of 34 at 2016-05-04
CREATEDBY
和UPDATEDBY
属性
有了这些属性和EclipseLink历史查询的帮助,我可以获得用户在一段时间内与特定实体相关的活动吗
比如说
-User1 created an employee with the id of 34 at 2016-04-22 13:53:44
-User2 updated an employee with the id of 34 at 2016-05-04 17:25:21
etc.
如果没有,我如何有效地完成这项任务