Skip to content

Implement Stored class #23

@jenetics

Description

@jenetics

The purpose of the Stored class is to make stored and non-stored DTOs distinguishable via the type system. E.g.

void update(final Collection<Stored<Record>> records) {
    ...
}
void insert(final Collection<Record> records) {
    ...
}

The Stored class contains the primary key and the actual row values.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions