by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    zihang, xia
    @xiazihang
    really appreciate your help!
    Bartosz Walacik
    @bartoszwalacik
    hi @xiazihang this's not help-me channel, this is a channel for contributors
    ask at stack
    zihang, xia
    @xiazihang
    @bartoszwalacik ah okay. thanks anyway
    DienLH
    @dienlh
    Hi every one! I used Javers for history management. But i can't filter like instead of equals with commit properties information. How to do it?
    example: John Smirt, i just want to filter "John " word to found "John Smirt"
    Bartosz Walacik
    @bartoszwalacik
    hi, you mean SQL like with % ?
    DienLH
    @dienlh
    yeap, @bartoszwalacik ! I seen source of Javers when generation query, i see that Javers used "=". If i want to use "Like", What should i do? please help me! Thanks
    Bartosz Walacik
    @bartoszwalacik
    like is not supported
    but you can contribute to Javers and implement support for likes :)
    DienLH
    @dienlh
    @bartoszwalacik Ok thanks! I will apply if javers implement new version and support this.
    helycopternicht
    @helycopternicht
    Hey guys! I hope you are doing well! I want to use Javers in my pet project. And I use PostgreSQL as the main warehouse and MongoDB as a warehouse for audited data. Everything is working great, except for one thing. When I make several requests in a single transaction auditing data persists in Mongo with different commit version. Is it expected behavior when MongoDB is used? I just want to find changes that were been changed in one transaction. Сan someone point me in the right direction?
    Bartosz Walacik
    @bartoszwalacik
    hi, javers doesnt know nothing about your transactions
    helycopternicht
    @helycopternicht
    Thanks for the answer! And if I'll store audited data together with main data javers will use transaction right?
    Bartosz Walacik
    @bartoszwalacik
    if in sql db - yes
    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