Q: Could not extract ResultSet: I think I made an error in OneToOne @Entity
@NoArgsConstructo## Heading ##r
@AllArgsConstructor
@Builder

@Table(name = "overoptimisation_identifiers")
public class OveroptimisationIdentifierEntity {

    @Id
    @GeneratedValue(generator = "uuid2")
    @GenericGenerator(name = "uuid2", strategy = "org.hibernate.id.UUIDGenerator")
    @Getter
    @Column(name = "id", columnDefinition = "VARCHAR(255)")
    private UUID id;

    @CreationTimestamp
    @Column(unique = true)
    private LocalDate date;
}





@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Table(name = "overoptimisation")
public class OveroptimisationEntity extends BaseEntity{

    @OneToOne(cascade = CascadeType.ALL)
    @JoinColumn(name = "identifier_id",
                referencedColumnName = "id")
    OveroptimisationIdentifierEntity identifier;



    @CreationTimestamp
    private LocalDateTime time;

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "phrase_id")
    PhraseEntity phrase;

    @URL
    @NotNull
    String relevantUrl;

    @NotNull
    @NotEmpty
    String position;

    @NotNull
    @NotEmpty
    String urlChanged;

    @NotNull
    @NotEmpty
    String restrictionsProbability;
}

I try to delete an entity instance:
        OveroptimisationIdentifierEntity currentIdentifier = OveroptimisationIdentifierRepository.findFirstByOrderByDateDesc();
        OveroptimisationIdentifierRepository.delete(currentIdentifier);
        OveroptimisationIdentifierRepository.save(identifier);
    }

And get this: https://dpaste.org/N7w7Z
Well, could not extract ResultSet.
