How to receive all of the elements of parent class?

I have abstract class Product, that is extended by class TV and PC. Both PC and TV have attribute productId (shared via Product parent class). My inheritance strategy is:TABLE_PER_CLASS. My question is: how can I get all of the products, despite if its PC or TV? is there something like 'findAllById()' in ProductRepository?


Category: spring Time: 2016-07-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.196 (s). 12 q(s)