JPA and Dynamic Relationships
I have the following table:
time_types
Id, Name
1,"Breakfast"
2,"Lunch"
3,"Dinner"
And then I have a table that represents the user values (the opening and closing times for each of time types defined above):
time_type_values
Id, time_type_id, open, close
1,1,"1970-01-01 10:00:00","1970-01-01 11:00:00"
2,2,"1970-01-01 22:00:00","1970-01-01 23:00:00"
3,3,"1970-01-01 13:00:00","1970-01-01 14:00:00"
How can the user create these particular properties when at least initially, the time_type_values have not yet been created?

