openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sahoo <Sa...@Sun.COM>
Subject Re: multiple xml mapping files found on classpath
Date Mon, 03 Sep 2007 12:54:42 GMT
Patrick Linskey wrote:
>> Since PURoot URI can be calculated
>>     
>
> How, portably?
>
>   
Can PURoot URI not be calculated like this:
URL pxmlURL = ClassLoader.getResource("META-INF/persistence.xml");
URL puRoot = new URL(pxmlURL, "../");

Thanks,
Sahoo

Mime
View raw message