Skip to content

Conversation

@rbygrave
Copy link
Member

@rbygrave rbygrave commented Apr 9, 2025

…oMany or @manytomany ...

ERROR: Unsupported initialisation of @onetomany or @manytomany on: test/entity/User fields: [roles] Refer: https://ebean.io/docs/trouble-shooting#initialisation-error]

The SuperBuilder creates a constructor that takes a builder rather than the fields, and assigned the OneToMany/ManyToMany/DbArray via the builder with a GETFIELD followed by PUTFIELD

…omany or @manytomany ...

ERROR: Unsupported initialisation of @onetomany or @manytomany on: test/entity/User fields: [roles] Refer: https://ebean.io/docs/trouble-shooting#initialisation-error]

The SuperBuilder creates a constructor that takes a builder rather than the fields, and assigned the OneToMany/ManyToMany/DbArray via the builder with a GETFIELD followed by PUTFIELD
@rbygrave rbygrave self-assigned this Apr 9, 2025
@rbygrave rbygrave added this to the 14.12.0 milestone Apr 9, 2025
@rbygrave rbygrave merged commit a23c36c into master Apr 9, 2025
2 checks passed
@rbygrave rbygrave deleted the feature/builder-support branch April 9, 2025 10:21
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

Successfully merging this pull request may close these issues.

2 participants