[hibernate-issues] [Hibernate-JIRA] Updated: (EJB-252) Clarify documentation on package use in persistence.xml <class> (and it's meaning)

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Dec 1 16:43:04 EST 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-252?page=all ]

Emmanuel Bernard updated EJB-252:
---------------------------------

      Component: Documentation
                     (was: EntityManager)
        Summary: Clarify documentation on package use in persistence.xml <class> (and it's meaning)  (was: Persistence.xml <class> entity does not allow package name to be specified (documentation says it does))
    Fix Version: 3.2.1

> Clarify documentation on package use in persistence.xml <class> (and it's meaning)
> ----------------------------------------------------------------------------------
>
>          Key: EJB-252
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-252
>      Project: Hibernate Entity Manager
>         Type: Bug

>   Components: Documentation
>     Versions: 3.2.0.ga
>  Environment: 3.2.0, Oracle 9i r2
>     Reporter: Kenneth Roe
>      Fix For: 3.2.1

>
>
> The EntityManager reference documentation indicates that you can specify a package name in the <class> element of persistence.xml.  This does not appear to be the case.
> Section of the documentation that says package names will work: 
> "The class element specifies a fully qualified class name that you will map. By default all properly annotated classes and all hbm.xml files found inside the archive are added to the persistence unit configuration. You can add some external entity through the class element though. As an extension to the specification, you can add a package name in the <class> element (eg <class>org.hibernate.eg</class>)."

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




More information about the hibernate-issues mailing list