Giter Club home page Giter Club logo

Comments (2)

tolry avatar tolry commented on May 23, 2024

What exactly do you mean by "compatible"? Having two applications using the same database, one hibernate, one doctrine and still being able to read and write to the EntityAudit? For this to work, EntityAutit's and Envers' database structure need to be completely the same. Since I didn' t create EntityAudit and haven't checked out Envers yet, I can not tell you that. You would probably have to setup an exemplary application of both types and give it a try.

But: in general, you don't want to have two applications to access the same database, but rather have a service layer in between. This way you can encapsulate your domain logic.

from entityauditbundle.

hoshsadiq avatar hoshsadiq commented on May 23, 2024

I completely agree with your statement, but such is the project I work on, and it's a big code base so I cannot simply change things. But yes, my question was basically if I enable this and Hibernate Envers, will they work as required, i.e. if doctrine audit one of the entries, will I be able to access it using Hibernate and vice versa? Anyway, we've opted for triggers since it's the best way to do for now.

from entityauditbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.