db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Spräner_Ext" <CSprae...@provinzial-online.de>
Subject Re: Referencing an abstract class. The next turn...
Date Tue, 12 Oct 2004 12:34:02 GMT

Hi Armin,

i looked at the test ojb....broker.InheritanceMultipleTableTest and didn't
find a place where you do a query to an Employee and than do a cast to, for
example, Manager. But that's exactly what i need. When mapping all classes
in one table this is possible. The test case should be:

 1. query for all Employees where name like 'manager'. But create the query
with Employee.class.
 2. assert that all loaded classes are instances of Manager.
 3. assert that a attribute which is only in Manager is loaded.

If this test case works it would be very nice.

Best regards....

carsten



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message