"max.andersen(a)jboss.com" wrote : ...but why is this concern of where to get
resources from leaked out via the urls passed down to hibernate via the urls it gets ?
Can't we avoid that somehow?
I don't understand your question? You need some identifier.
JavaEE generally uses URLs (but they are not navigable
there is no generic getChildURLs()).
Currently hibernate gets the top level url and barfs because it only knows
how to navigate file:, jar:
There is no way to make it understand anything else.
We're discussing how to go beyond these for reasons of optimization
and ease of use/development.
If you want to avoid the problem then we say you always have to package
as a jar or exploded archive and we will always scan everything (multiple times :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109042#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...