Answer by Jdruwe for Postgresql inheritance based database design
Thanks to @Walter Mitty I am now using the shared-primary-key technique which results in the following design (http://www.tutorialspoint.com/jpa/jpa_advanced_mappings.htm, JPA Joined inheritance):Don't...
View ArticleAnswer by Walter Mitty for Postgresql inheritance based database design
Whether you are better off with single-table-inheritance or class-table-inheritance really depends on the particulars of your case. The performance advantage can go either way. The difficulties...
View ArticlePostgresql inheritance based database design
I'm developing a simple babysitter application that has 2 types of users: a 'Parent' and the 'Babysitter'. I'm using postgresql as my database but I'm having trouble working out my database design. The...
View Article
More Pages to Explore .....