Thanks for the hint, Kevin! Thierry > Just a heads up... Do not rely on the default value for <exclude- > unlisted-classes/>. In JPA 1.0, this element was defined incorrectly. > The default value was set to "false". Thus, the <exclude-unlisted- > classes/> element, if typed just like this, would indicate "not to > exclude unlisted classes", which means to include unlisted classes. > Confusing, right? > > In the upcoming JPA 2.0 spec, this is getting corrected. So, now the > default value will be "true". Although this now makes more sense as the > default value, if you have accidentally used <exclude-unlisted-classes/> > in your persistence.xml, you could start to experience different > processing. > > Best bet is to be explicit: > <exclude-unlisted-classes>true</exclude-unlisted-classes> > > Thanks, > Kevin
