Questions tagged [xodus-dnq]
7 questions
1
vote
1 answer
Batch saves on Xodus
Is there a way to save hundreds of thousands of items on Xodus quickly? Some sort of batch feature where we can specify a very big transaction for that?
The goal here is to update a large set of entities during an ingestion phase. We usually…

Bruno René Santos
- 401
- 4
- 10
1
vote
1 answer
How to update entities using Xodux-DNQ
I have searched Xodus and Xodus-DNQ and I am not able to find an idiomatic way to update an entity that is already inside a Xodus database, using Xodus-DNQ. Would I have to delete that entity and created it again afterwards, or is there a better way…

Bruno René Santos
- 401
- 4
- 10
0
votes
1 answer
How to cascade deletion of last linked item with Xodus DNQ
I have two entities; municipality and city (actually more but simplifying here). A municipality must always contain at least one city.
Is there a way to set up a constraint that makes the deletion of the final city cascade to delete its parent…

Felix ZY
- 674
- 6
- 14
0
votes
1 answer
How to check for combined uniqueness with Xodus DNQ
I have two entities; municipality and city. Municipalities are assumed to have unique names whereas cities are assumed to be unique within their municipality.
Is there a way to set up a constraint for cities so that the combination of its name and…

Felix ZY
- 674
- 6
- 14
0
votes
1 answer
Metadata for entity is undefined
I'm trying to connect two entities with an n:m relationship, bands and events. When an event is removed, the band should remain. The band may not be removed while part of an event however.
The attached test case fails with the following log:
…

Felix ZY
- 674
- 6
- 14
0
votes
1 answer
A proper way to serialize/deserialize Xodus-dnq entity
For example - I've got this entity:
class XdUser(entity: Entity) : XdEntity(entity) {
var someName by xdStringProp()
var someNumber by xdIntProp()
}
What is the proper way to serialize/deserialize it from/to json?
I have to create data…

Rundom
- 87
- 1
- 7
-1
votes
1 answer
some questions about xodus
yo! i have some questions about xodus.
if i get something from entity using getProperty, do i take it from memory or read from database?
if from database, is there a built-in ability to turn on some cache system?
can i work directly on an entity…