Hello, Some questions on modelling entities: Suppose I have Employee and Manager entities and Manager is Employee with additional behaviour and/or state. 1. Can I promote Employee to Manager? I.e. can I take an Employee object and add to it Manager roles (during runtime, entity creation)? 2. From DB point of view, is a Manager an Employee? e.g. can I construct a query for all Employees that are Managers or Traders? uow.get(Employee.class, <ID>) will it return Manager object or Employee not castable to Manger?
Jacek
_______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

