Comment 6 for bug 500163

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Fixed in SVN trunk :

Use the QuerydslConfig annotation on package or type level to tune the serialization :

public class QuerydslConfigTest {

    @QuerydslConfig(entityAccessors=true, listAccessors = true, mapAccessors= true)
    @QueryEntity
    public static class Entity{

        Entity prop1;

        Entity prop2;

        List<Entity> entityList;

        Map<String,Entity> entityMap;
    }

    @Test
    public void test(){
        assertEquals("entity.prop1.prop2.prop1", QQuerydslConfigTest_Entity.entity.prop1().prop2().prop1().toString());
    }

}