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

Add support for @Value [DATACASS-741] #910

spring-projects-issues opened this issue Mar 19, 2020 · 0 comments

Add support for @Value [DATACASS-741] #910

spring-projects-issues opened this issue Mar 19, 2020 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented Mar 19, 2020

Mark Paluch opened DATACASS-741 and commented

We should allow the use of  @Value in the persistence constructor.

	class WithProjection {

		final @Id String id;
		final @Transient String firstname;

		public WithProjection(String id, @Value("#root.getString(1)") String firstname) { = id;
			this.firstname = firstname;

The root object refers to the underlying object that is used to materialize the object. For aggregate roots and top-level entities, that's typically the Row, UDTValue and TupleValue according to mapped types.


No further details from DATACASS-741

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

Successfully merging a pull request may close this issue.

None yet
2 participants