Based on the workaroudns you have shown, you illustrate that only the class-name for managed entity types that are audited suffices. But what your code does not illustrate is the purpose behind needing these values and that is what I am interested in having a better understanding for. Are you trying to gain further details from EnversService by fetching an EntityConfiguration object? Are you inspecting the actual EntityType's JPA metamodel? Having a bit more depth as to why you need this can go a long way in making sure that we provide an adequate API for a user's needs that goes beyond simply just exposing some collection of Class<?> objects or String class-names. |