2 Replies Latest reply on Jul 18, 2013 7:01 AM by Anton Hughes

    How to tell marshaller to ignore classes - or perhaps there is a better solution?

    Anton Hughes Master



      I am trying to add http://www.querydsl.com/ to help us more easily develop our persistence requirements.


      This generates classes based on our jpa entities.


      The problem


      Our entities are in app.client.shared.datamodel and the the generated classes are also in the shared package. So, I assume that is the problem.


      The generated classes are complex, and cannot be marshalled. And we also do not intend to use them on the client - only for working with backend persistence. But we do wish to use our entities for both 'jpa in the browser' and jpa in the traditional backend db.


      Querydsl does not all use - I believe - to specify the package that the generated classe are in.


      What would you recommend?