JaVer's Contributors room. If you are a JaVers User and have a question, ask at Stack
People
Repo info
Activity
helycopternicht
@helycopternicht
Thanks. Whould it helpful to provide this functionality in javers?
Would *
skogs
@skogs
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.
Bartosz Walacik
@bartoszwalacik
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
Daniel Engfeldt
@dniel
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?
Bartosz Walacik
@bartoszwalacik
yes, thats javers core feature, diff
Daniel Engfeldt
@dniel
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?
Bartosz Walacik
@bartoszwalacik
you dont get it, javers.compare() doesnt use any repo , its a pure function
vedshankar14
@vedshankar14
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?
Bartosz Walacik
@bartoszwalacik
no
its fixed
you can use a schema name
Björn Lindahl
@r3trobear_twitter
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 ...
Bartosz Walacik
@bartoszwalacik
it's INFO level, so how it can be red?
Björn Lindahl
@r3trobear_twitter
Good question. Can it be that it prints to stderr by default causing it to be treated as an error?
Bartosz Walacik
@bartoszwalacik
javers logs only to logger
qwiskyRobert
@qwiskyRobert
data is not saving to jv_commit_property table . how to fix this?
qwiskyRobert
@qwiskyRobert
JaversException NOT_INSTANCE_OF: Can't create InstanceId for EntityType
Ashutosh Gupta
@ashKIK
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`m using Javers audit with MongoDB. Is there any way to archive (delete) Javers snapshots with Javers API? I need to remove obsolete snapshots in order to free up space in the DB
Bartosz Walacik
@bartoszwalacik
only deleteAll
MaximOsievskiy
@MaximOsievskiy
@bartoszwalacik Could you please explain in more details? Do you mean direct removal of documents from the jv_snapshots?
Bartosz Walacik
@bartoszwalacik
short answer is no, javers repository API is insert & read only
Hushen Savani
@hushensavani
Does JaVers support CreateDB?
@bartoszwalacik
@ashKIK
Hushen Savani
@hushensavani
CrateDB *
Darwin Correa
@dacopan
hello, any support for spring 2.3.0?
koapost
@koapost
Hi, I use javers and mongodb. More specific I annotated a spring boot repository with @JaversSpringDataAuditable. The problem is that I get 16MB limit error. Does anybody knows how I fix this?
1 reply
Noyal Joy
@noyaljoy
Is it possible to provide custom names to jv_snapshots and jv_head_id in spring boot mongodb project ?
Bartosz Walacik
@bartoszwalacik
nope
Noyal Joy
@noyaljoy
ok
Harsh Gupta
@hardmettle
Hi, wanted to understand what does Javers use underneath to detect changes ? is it reflection?
Bartosz Walacik
@bartoszwalacik
Hi, yes Javers uses reflection
Karsten Silz
@ksilz
The London Java Community (LJC) regularly hosts lightning talks. On Friday, October 2, 2020, I discussed how JaVers makes audit logs easy in Java: http://bpf.li/cat
@bartoszwalacik Please feel free to link to it from the web page. Please also include the link to https://betterprojectsfaster.com/learn/talks-ljc-lightning-talk-2020-javers-audit-log/ . The reason is that has the slides and - more importantly - a lot of sample code that shows how to create versions, query and compare them. It also shows what JaVers writes to the database and includes tips for optimizing the versioning.
Adeel Ahmed
@adeel718
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?