Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
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.
    vedshankar14
    @vedshankar14
    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
    Bartosz Walacik
    @bartoszwalacik
    Hi, where is the problem, if you don't use Spring, you have to create a Javers instance using JaversBuilder - see https://javers.org/features#javers-repository
    MaximOsievskiy
    @MaximOsievskiy
    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
    I'll give an extended, 25 minute version of my talk next Wednesday. As the lightning talk, it'll be on YouTube within a week or so: https://www.eventbrite.co.uk/e/ljc-virtual-meetup-community-talks-tickets-125353506713?aff=meetup
    Bartosz Walacik
    @bartoszwalacik
    Hi @ksilz, great news! When it will be on YT, maybe we could link to it from javers.org ?
    Karsten Silz
    @ksilz
    The lightning talk is already on YouTube. It's about 8 minutes: https://youtu.be/zCPqdaj9Rf8?t=2407
    @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
    image.png
    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?
    Karsten Silz
    @ksilz
    Just a friendly reminder: https://betterprojectsfaster.com/learn/talks-ljc-medium-talk-2020-javers-audit-log/#getting-started tells you how to get started with JaVers, how to query for one or more objects, how to query nested objects, and how to customize the versioning JSON.
    Bartosz Walacik
    @BartoszWalacik_twitter
    thanks @ksilz , I have linked it here https://javers.org/documentation/getting-started/
    Bartosz Walacik
    @BartoszWalacik_twitter
    guys, I'm leaving this room, if you want to reach me -- github is the right place - https://github.com/javers/javers/discussions