JanssenProject / JanssenProject/jans

Support entry update without loading existing one from DB

Open
#223 3 comments 0 reactions 1 assignee Claimed by @yurem View on GitHub
comp-jans-orm priority-4 triaged
Dominant language
Java
Stars
647
Forks
173
Avg merge
1d 18h
Merged PRs (30d)
110

Description

Since the main target is easy clustering support ORM not cache entries. As result current ORM implementation do entry lookup to find changes since last entry update in DB. After that it send request to update only changed fields.

We need to try to add entry update without lookup support. This can be useful for small entries in which all or almost all fields application updates. As result this should help to improve caching speed.
Here is example of entry with this update method:
```
@DataEntry(forceUpdate=true)
@ObjectClass(value = "jansCache")
public class NativePersistenceCacheEntity extends DeletableEntity implements Serializable, Deletable {
``

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.