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

Better alternatives to entity graph: bee.persistent.blaze #12

Merged
merged 117 commits into from
Jan 17, 2024

Conversation

kurbaniec
Copy link
Collaborator

Implemented proof of concept bee.persistent.blaze for a successor to bee.persistent.jpa.

Codegen-based wrapper built on blaze-persistence. Generates type-safe DSL objects for more robust queries.

Closes #11

Also adapted `bee.generative` to allow processor for capabilities via new notation.
Currently does not work when subclasses are referenced via relations.
Seems to be working now, was quite a hassle because of the single autoconfiguration from `@EnableEntityViews`.
Should be useful later on when intercepting blaze view creation.
Should now support entities with same name but declared in different packages
…egy.SELECT`

Should fix problem that lead to incomplete results.
Also updated `PoetMap` utility tool.
… multiple test classes

Added `SelectionATest`.
… multiple test classes

Added `CircularSelectionATest`.
… multiple test classes

Added `SelectWhereATest`.
… multiple test classes

Added `SelectOrderByATest`.
… multiple test classes

Added `SelectionInheritanceBTest`.
Also fixed (with changes from previous commit) DSL codegen (`this` cannot be used as an identifier, default value is simple name in camel case form).
Requires some tweaks to DSL generation.
@kurbaniec kurbaniec linked an issue Jan 17, 2024 that may be closed by this pull request
7 tasks
@kurbaniec kurbaniec self-assigned this Jan 17, 2024
@kurbaniec kurbaniec merged commit 9cbbfc3 into main Jan 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate better alternatives to entity graph
1 participant