Skip to content

Issue with Boolean column #53

Open
@benjamin-dreux

Description

@benjamin-dreux

I've create a project with the following entity

public record Contact(
    @Id Long id,
    Boolean isOrganization
){};

I'm using it with a standard repository

@Component
public interface ContactRepository extends ListCrudRepository<Contact, Long> {

    public Optional<Contact> findById(Long id);
}

But then when fetching entites with this repository, contact have a null for the field, isOrganization.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions