[jboss-dev-forums] [Design of POJO Server] - Re: Regression on VirtualFile.toURL()
alesj
do-not-reply at jboss.com
Wed Feb 18 13:29:32 EST 2009
"jason.greene at jboss.com" wrote : Looking at this in more detail, the JPA code is definitely wrong and an ugly hack, no matter the decision on the trailing /:
|
Exactly. ;-)
I've said this to Carlo before - relying on impl details == very bad. :-)
As this impl will fail on exploded deployments.
The DI::getParent is tricky, as it might not always work - can be null.
It depends on what the VFSContext's root is.
It's then again an impl detail to know that we actually have
a context root that's higher up the hierarchy.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211234#4211234
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211234
More information about the jboss-dev-forums
mailing list