Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.1.3
-
None
-
Win xp / Linux + Hibernate 3.5.5 Final / Hibernate 3.2.6.ga
Description
With spaces in persistence units paths, the generated URLs cannot be used by hibernate.
In PersistenceUnitInfoImpl#setRootUrlAndJarUrls, the persistenceUnitRootUrl param seems to have already been formated. The problem is fixed with
File root = new File(persistenceUnitRootUrl.replaceAll("%20"," "));
Attachments
Issue Links
- relates to
-
OPENEJB-1252 URL->File decoding should avoid "+" in paths
- Closed