[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4552) AbstractMethodError thrown when attempting to invoke JPA 2 method on EntityManager

Michael Youngstrom (JIRA) jira-events at lists.jboss.org
Mon Feb 22 20:16:10 EST 2010


    [ https://jira.jboss.org/jira/browse/JBSEAM-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12515846#action_12515846 ] 

Michael Youngstrom commented on JBSEAM-4552:
--------------------------------------------

So, unfortunately since Seam is currently compiling against JPA 1 I cannot simply implement the missing methods without changing Seam to compile against JPA 2 which we probably don't want to do in a point release.

Is anyone against me rewriting the EntityManagerProxy code to use a Proxy instead of a concrete class?

> AbstractMethodError thrown when attempting to invoke JPA 2 method on EntityManager
> ----------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4552
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4552
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.2.0.GA
>            Reporter: Michael Youngstrom
>            Assignee: Michael Youngstrom
>             Fix For: 2.2.1.CR1
>
>
> When I attempt to invoke a JPA 2 method on a Seam managed EntityManager I get an AbstractMethodError.  This is because org.jboss.seam.persistence.EntityManagerProxy doesn't implement any of the new JPA 2 methods.
> I believe if we're targeting 2.2.1 as something that will work in AS 6 we should fix this.
> I'll be committing a fix shortly unless someone stops me. :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list