st-tu-dresden/salespoint

Annotate `Interval` with `@Embeddable`

Closed this issue · 2 comments

Just to make more obvious that the type can be persisted out of the box.

Steps to complete:

  • Annotate Interval with @Embeddable.
  • Add property of type Interval to DummyEntity
  • Tweak IntervalIntegrationTests.SomeEntity, to not explicitly use @Embedded. Test case should still work without it.

It looks like fundamental support for this has already been implemented with #152.