It is possible to inherit from classes which will not be persisted to the database. The way to achieve this is to use Horizontal Inheritance
. It can be specified for the parent classes in the inheritance graph. Classes marked for Horizontal Inheritance will not have tables in the database and thus their instances cannot be persisted but can be instantiated. You can model Horizontal Inheritance in the following way:
I hope this helps.
OpenAccess ORM Q3 2013 Beta is available for immediate download in your account. Get it now
and play with the latest bits. See what's new >>