I have these tables
CREATE TABLE parent
(
id NUMBER(10, 0) NOT NULL,
name VARCHAR2(100 CHAR) NOT NULL,
primary key (id),
)
CREATE TABLE child
(
id NUMBER(10, 0) NOT NULL,
name VARCHAR2(100 CHAR) NOT NULL,
conclusion DATE,
parent_id NUMBER(10, 0) NOT NULL,
)
ALTER TABLE child ADD constraint foreign key (parent_id) references parent;
I want to get a List<Parent> where each Parent.Child has only elements where !CONCLUSION.HasValue()
A second option is to