<JPA Inheritance annotations with Kotlin> I'm tryi...
# stackoverflow
r
JPA Inheritance annotations with Kotlin I'm trying to make a Notification system. Currently my model consists of a Notification which has a NotificationType and NotifiableObject. A NotifiableObject can be something like an invitation to join a team, which would have specific actions for that type of notifiable objects (which is handled by the frontend). My idea was to create a table for the notifications, and a table per type of notifiable object. Then I would use some sort of strategy/factory pattern to use the notification type...