@@ -0,0 +1,729 @@
+package com.querydsl.apt.domain;%0A%0Aimport org.junit.Test;%0A%0Aimport javax.persistence.*;%0A%0Aimport static org.junit.Assert.assertNotNull;%0A%0Apublic class InitTest %7B%0A%0A    @Entity%0A    public static class User %7B%0A%0A        @ManyToOne(fetch = FetchType.EAGER)%0A        private Address address;%0A%0A    %7D%0A%0A    @Entity%0A    public static class Address extends AddressBase %7B%0A%0A    %7D%0A%0A    @MappedSuperclass%0A    public abstract static class AddressBase %7B%0A%0A        @Id%0A        private long idAddress;%0A%0A        @Id%0A        private int numVersion;%0A%0A        @ManyToOne%0A        private City city;%0A%0A    %7D%0A%0A    @Entity%0A    public static class City %7B%0A%0A    %7D%0A%0A    @Test%0A    public void test() %7B%0A        assertNotNull(QInitTest_User.user.address.city);%0A    %7D%0A%0A%0A%7D%0A

Add test