Skip to content

Include not calling retryving lazy properties #1106

@cesarjhony

Description

@cesarjhony

Using Vraptor 4.2.0.Final with JPA and Eclipselink 2.5.2 configurated for static weaving:
When a type of attribute marked with lazy (in model) and using an include in the controller (json), the attribute is not retrieving.
But when I put getAttribute() before , it's work fine.
Same configuration without getAttribute() in Hibernate is working, but in Eclipselink not is.

Estou usando Vraptor 4.2.0.Final com JPA e Eclipselink 2.5.2 configurado com static weaving:
Quando um atributo é marcado como Lazy, no modelo, e usando um include no controller, o atributor não é retornado.
Mas quando coloco getAttribute() antes, então funciona.
A mesma configuração, sem getAttribute(), funciona no Hibernate, mas não funciona no Eclipselink.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions