My bad the code nagivating the data at stake is the W3C DOM API. Not sure why I had JAXB in mind.
On 3 mai 2012, at 14:50, Steve Ebersole wrote: > All JAXB stuff is slated for 5.0. No current code uses JAXB that I am aware > of. > > On Thu 03 May 2012 07:40:08 AM CDT, Emmanuel Bernard wrote: >> it's actually probable because JAXB - which is what we use I think - is such >> a pain in the neck for these kind of situations. >> >> On 3 mai 2012, at 14:38, Emmanuel Bernard wrote: >> >>> It's expected that people that exclude use >>> >>> <exclude-unlisted-classes/> >>> >>> and people that do not want to exclude simply don't add this element. >>> >>> It's possible that our parsing does not account for people that use the >>> explicit form to not exclude. Open a JIRA issue please. >>> >>> On 3 mai 2012, at 14:12, Dmitry Geraskov wrote: >>> >>>> Hi, guys, >>>> >>>> I noticed that hibernate excludes unlisted classes even if >>>> *<exclude-unlisted-classes>* is set to *false*. >>>> Here is the text from persistence-2_0-final-spec.pdf: >>>> >>>> /8.2.1.6 mapping-file, jar-file, class, exclude-unlisted-classes >>>> The following classes must be implicitly or explicitly denoted as >>>> managed persistence classes to be >>>> included within a persistence unit: entity classes; embeddable classes; >>>> mapped superclasses. >>>> The set of managed persistence classes that are managed by a persistence >>>> unit is defined by using one or >>>> more of the following: >>>> [81] >>>> . Annotated managed persistence classes contained in the root of the >>>> persistence unit (*unless the >>>> exclude-unlisted-classes element is specified*) / >>>> .... >>>> >>>> /8.2.1.6.1 Annotated Classes in the Root of the Persistence Unit >>>> All classes contained in the root of the persistence unit are searched >>>> for annotated managed persistence >>>> classes---classes with the >>>> Entity, >>>> Embeddable, or >>>> MappedSuperclass annotation---and any >>>> mapping metadata annotations found on these classes will be processed, >>>> or they will be mapped using >>>> the mapping annotation defaults. If it is not intended that the >>>> annotated persistence classes contained in >>>> the root of the persistence unit be included in the persistence unit, the >>>> *exclude-unlisted-classes element must be specified as **true*. The >>>> exclude-unlisted-classes element is not intended for use in Java SE >>>> environments./ >>>> >>>> Does this mean you don't support specification in this place? >>>> >>>> Here is a link to our jira issue >>>> https://issues.jboss.org/browse/JBIDE-11773 >>>> >>>> Dmitry >>>> _______________________________________________ >>>> hibernate-dev mailing list >>>> hibernate-dev@lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >>> >>> >>> _______________________________________________ >>> hibernate-dev mailing list >>> hibernate-dev@lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >> >> >> _______________________________________________ >> hibernate-dev mailing list >> hibernate-dev@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/hibernate-dev > > -- > st...@hibernate.org > http://hibernate.org _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev