Currently, Tapestry excludes the unlisted managed classes. The
<exclude-unlisted-classes>
tag in the persistence descriptor is ignored, so that the following method
always returns true.

http://download.oracle.com/javaee/5/api/javax/persistence/spi/PersistenceUnitInfo.html#excludeUnlistedClasses%28%29

The reason is:  I'm not sure if it a good idea to scan the entire classpath
for managed entities. That's why the entities need to be listed explicitly;
this is done by putting them into entities sub-package.
This behavior conforms to the Hibernate integration lib.

Is it confusing?

On Tue, Jul 12, 2011 at 9:00 AM, Lenny Primak <lpri...@hope.nyc.ny.us>wrote:

> Just curious... how do they get instrumented?
> Are there any side-effects of not putting them into a package that Tapestry
> knows about?
>
> Thanks!
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de

Reply via email to