@@ -0,0 +1,746 @@
+package com.querydsl.apt.domain;%0A%0Aimport static org.junit.Assert.assertNotNull;%0A%0Aimport java.io.Serializable;%0A%0Aimport org.junit.Test;%0A%0Aimport com.querydsl.core.annotations.QueryEntity;%0Aimport com.querydsl.core.annotations.QuerySupertype;%0A%0Apublic class GenericStackOverflowTest extends AbstractTest %7B%0A%0A    public interface Identifiable%3CID extends Comparable%3CID%3E & Serializable%3E %7B%0A    %7D%0A%0A    @QuerySupertype%0A    public abstract static class AbstractEntity%3CID extends Comparable%3CID%3E & Serializable%3E implements Identifiable%3CID%3E %7B%0A    %7D%0A%0A    @QueryEntity%0A    public static class TestEntity extends AbstractEntity%3CLong%3E %7B%0A    %7D%0A%0A    @Test%0A    public void test() %7B%0A        assertNotNull(QGenericStackOverflowTest_AbstractEntity.abstractEntity);%0A    %7D%0A%7D%0A

Add test for 2059