Giter VIP home page Giter VIP logo

Comments (3)

ayende avatar ayende commented on August 23, 2024

Please note that GUID id is meant to be generated server side, and refers to the content of the id field, not its type.

We'll fix the issue with the missing doc, see:
https://issues.hibernatingrhinos.com/issue/RDoc-2398/working-with-document-identifiers-page-for-Java-and-other-clients

We have supprot for custom serialization that you can use, see:
https://github.com/ravendb/ravendb-jvm-client/blob/v5.4/src/test/java/net/ravendb/client/test/client/CustomSerializationTest.java#L86

For identifier, you can control serialization at a granular level using:

public void setEntityMapper(ObjectMapper entityMapper) {

from ravendb-jvm-client.

cmitchell avatar cmitchell commented on August 23, 2024

@ayende Again, this is just another feature that would make the java client easier to use. Whether I implement it in the ObjectMapper and then pass it in, verses the client doing this is a nice-to-have feature for developers that are provided by other database clients.

Ease of client use is certainly a factor when evaluating storage solutions.

from ravendb-jvm-client.

ayende avatar ayende commented on August 23, 2024

I referenced this blog post earlier:
https://ayende.com/blog/188257-B/avoiding-non-string-identifiers-in-ravendb

There is an issue about ownership. We enable this scenario, but this is something that experience have taught us leads to issues in some cases, and we want to be explicit about where we guide you toward the pit of success.

from ravendb-jvm-client.

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.