Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get rid of lazy properties in infinispan data files #245

Open
K0zka opened this issue Dec 23, 2018 · 0 comments
Open

get rid of lazy properties in infinispan data files #245

K0zka opened this issue Dec 23, 2018 · 0 comments

Comments

@K0zka
Copy link
Collaborator

K0zka commented Dec 23, 2018

The problem is that they are redundant, calculated data based on the properties of the entity.
If I annotate the delegates with @DeleGate:Transient, that removes the lazy field from the serialized format, but will generate NPE after deserialization (like e.g. restart of the server) - since the delegate property is now null.
JSON format could probably help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant