@@ -0,0 +1,646 @@
+package org.torpedoquery.jpa;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.torpedoquery.jpa.Torpedo.from;%0Aimport static org.torpedoquery.jpa.Torpedo.select;%0Aimport static org.torpedoquery.jpa.Torpedo.where;%0A%0Aimport org.junit.Test;%0Aimport org.torpedoquery.jpa.test.bo.Entity;%0Aimport org.torpedoquery.jpa.test.bo.ExtendEntity;%0A%0Apublic class PolymorphicTest %7B%0A%0A%09@Test%0A%09public void testEqSubType() %7B%0A%09%09Entity from = from(Entity.class);%0A%09%09where(from).eq(ExtendEntity.class);%0A%09%09Query%3CEntity%3E select = select(from);%0A%09%09assertEquals(%22select entity_0 from Entity entity_0 where entity_0.class = ExtendEntity%22, select.getQuery());%0A%09%7D%0A%09%0A%7D%0A

Add new polymorphic test