[hibernate-issues] [Hibernate-JIRA] Created: (EJB-252) Persistence.xml <class> entity does not allow package name to be specified (documentation says it does)
Kenneth Roe (JIRA)
noreply at atlassian.com
Fri Dec 1 13:21:04 EST 2006
Persistence.xml <class> entity does not allow package name to be specified (documentation says it does)
-------------------------------------------------------------------------------------------------------
Key: EJB-252
URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-252
Project: Hibernate Entity Manager
Type: Bug
Components: EntityManager
Versions: 3.2.0.ga
Environment: 3.2.0, Oracle 9i r2
Reporter: Kenneth Roe
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