In Neo4j, Map @Column(nullable=false) as a constraint

Description

Example with Cypher:

1 CREATE CONSTRAINT ON (book:Book) ASSERT exists(book.isbn)

See class BaseNeo4jSchemaDefiner#UniqueConstraintDetails for the approach we currently use for unique constraints

Environment

None

Status

Assignee

Anastasiia Gavrilash

Reporter

Davide D'Alto

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure