JaVer's Contributors room. If you are a JaVers User and have a question, ask at Stack
Thanks. Whould it helpful to provide this functionality in javers?
Hi, is there a way for TERMINAL snapshot to have the last know entity values rather being empty? Or, is there a easy way to retrieve the terminated object? I am using findSnapshots() in the context of Spring Boot. Thanks!
Btw, Javers is amazing work. Much more easier to configure and intuitive to use and query than envers.
Thanks @skogs, nice to hear that :)
but, no, there is no query for last snapshot of deleted object, if you'd like to contribute such feature, you are welcome
If I just want to use Javers to detect changes in a object graph, compared to the previous version, and then send notifications to clients if changed. And I dont need the persistent respository of thye audit log. Is Javers still a good match?
yes, thats javers core feature, diff
yeah, but when starting up without any special repository says "using in-memory repo, please register real repo" and the documentation says in-memory is only for testing, not for production.
But when running only for using diff-features and not persistence, is the default config with the in-memory enough and usable in production?
you dont get it, javers.compare() doesnt use any repo , its a pure function
Hi, I am using Javers audit with MongoDB. is there any way to capture the initial state of the object with Javers audit api? I am to see the audit details only from first update onwards in snapshot collection.
Hi, Can we overrides the jv_snapshots collection name? and Audit data of the all the collections will be stored in jv_snapshots?
you can use a schema name
Hi, it seems output from javers is colored red in intellij, which is default error color. Does anyone have a solution to this. Example of logging colored incorrectly (as I see it): mar 01, 2020 10:04:56 FM org.javers.core.JaversBuilder bootAddOns INFO: loading GroovyAddOns ...
it's INFO level, so how it can be red?
Good question. Can it be that it prints to stderr by default causing it to be treated as an error?
javers logs only to logger
data is not saving to jv_commit_property table . how to fix this?
JaversException NOT_INSTANCE_OF: Can't create InstanceId for EntityType
Hi all, How to use Javers audit in a dropwizard project (No spring, spring-boot) ? Also is auto audit supported with dropwizard ? Persistence is done via dropwizard-hibernate. Thanks
Hi. I am working on implementing javers and using the .groupByCommit function, I want to expose this via a REST api with all commits and changes in one API call. Currently I can only see a list of commits being returned with the meta data but no changes (screenshot), how do I get the associated changes to be returned with the commit?