You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Dain Sundstrom (JIRA)" <ji...@apache.org> on 2007/04/23 19:44:15 UTC

[jira] Closed: (OPENEJB-471) CMP beans in an EJB 1.1 jar are assumed to be CMP 2.0

     [ https://issues.apache.org/jira/browse/OPENEJB-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dain Sundstrom closed OPENEJB-471.
----------------------------------

    Resolution: Fixed

The DTD system id is saved off during parsing, so JaxB building logic can set the proper cmp version.

> CMP beans in an EJB 1.1 jar are assumed to be CMP 2.0
> -----------------------------------------------------
>
>                 Key: OPENEJB-471
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-471
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: cmp2, deployment
>            Reporter: Dain Sundstrom
>         Assigned To: Dain Sundstrom
>
> CMP beans defined in EJB 1.1 jars, ones with a ejb-jar_1_1.dtd based ejb-jar.xml file, are assumed to be CMP 2.0, which didn't exist in EJB 1.1.
> When we set the CMP version field, the default should be 2.x for CMP beans defined in ejb-jar.xml files v2.0 or later and 1.x for earlier files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.