0 Replies Latest reply on Jan 13, 2010 10:03 PM by paul manjarres

    Seam JPA Classes Behavior

    paul manjarres Newbie

      Hi, I was using SEAM for a project, everything went well until i found that i can't have a dedicated server for JBoss, forcing me to migrate the App to a StandAlone swing app.

      I tried to reuse most parts of my seam code, but i encountered problems in the persistence Methods. In seam  i had no problem to use lazy load for my entities in every place, in the other app gets me an Exception (LAzyLoadException) always.

      I set up CascadeType Persist to allow me to create a new entity, create related entities AND even update if they exists in DB, in seam works fine, but i haven't managed to do that in just JPA, its like Seam's EntityHome objects choose when to persist, merge.

      Any help?