[jbosstools-issues] [JBoss JIRA] (JBIDE-9701) JPA: process implied package-info like implied entities are processed
Dmitry Geraskov (JIRA)
jira-events at lists.jboss.org
Wed Apr 4 09:35:47 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-9701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681672#comment-12681672 ]
Dmitry Geraskov commented on JBIDE-9701:
----------------------------------------
>if package with package info is added into persistence.xml, it it expected all Entities in that package will be automatically included?
No.
You can easily test this:
1. Add package to persistent unit( do not forget to set <exclude-unlisted-classes>true</exclude-unlisted-classes>).
2. Build console configuration
3. Expand the tree to see if hibernate core adds the classes automatically.
> JPA: process implied package-info like implied entities are processed
> ---------------------------------------------------------------------
>
> Key: JBIDE-9701
> URL: https://issues.jboss.org/browse/JBIDE-9701
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 3.3.0.M3
> Reporter: Dmitry Geraskov
> Assignee: Dmitry Geraskov
> Fix For: 3.3.0.M4
>
>
> If package is not specified in persistence.xml pacakge-info should be processed like not specified entities are processed.
> See https://issues.jboss.org/browse/JBIDE-9456
> Now they are ignored
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list