This would mean that if you had a common subset of properties that you often need to access in your DAO, without the rest of the row data from the database, you could do so by using the base class as, but the foreign key relationship would still work when you use a subclass containing properties for all the columns.