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

Issue with @Transient #846

Closed
mbabur opened this issue Dec 7, 2023 · 3 comments
Closed

Issue with @Transient #846

mbabur opened this issue Dec 7, 2023 · 3 comments

Comments

@mbabur
Copy link

mbabur commented Dec 7, 2023

@transient works when storing data but on retrieval complains about member attribute unable to initialise constructor for transient value and I have to use @value("null'), I am using Kotlin, Spring Boot 3.2 and spring-boot-starter-data-r2dbc:3.2.0 with Spring-webflux. Is this the only solution using @transient and @value("null').

Thank you for you assistance

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 7, 2023
@mp911de
Copy link
Member

mp911de commented Dec 8, 2023

Using constructors requires some value to be provided. For Kotlin, ideally use value defaulting.

If that doesn't help, please provide a bit of code over we can start a conversation.

@mp911de mp911de added the status: waiting-for-feedback We need additional information before we can continue label Dec 8, 2023
@spring-projects-issues
Copy link

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Dec 15, 2023
@spring-projects-issues
Copy link

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

@spring-projects-issues spring-projects-issues closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2023
@spring-projects-issues spring-projects-issues removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants