Cache join table inheritance