0 Replies Latest reply on May 29, 2009 4:38 PM by Cory Dahlstrom

    Seam Proxy & Entity Bean Issue

    Cory Dahlstrom Novice

      We have many pages backed by entity beans in our Seam applications.

      One thing we have noticed is in some cases Seam proxies out our entity beans as if they were a Seam bean ( you can see this in the debugger ).

      We have had some issues in the cases where the entity beans have a compareTo or equals method implemented that accesses the bean properties directly and not through a getter method.  Since the proxy is not invoked, the value comes back as null.  If you call the getter for that same property, the correct value is returned.

      Our solution to this is to invoke the getter methods in these cases, but is there another solution to this?