tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre V (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENEJB-1371) Bad peristence unit URL format with Hibernate 3.5.5
Date Wed, 13 Oct 2010 15:17:10 GMT
Bad peristence unit URL format with Hibernate 3.5.5
---------------------------------------------------

                 Key: OPENEJB-1371
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1371
             Project: OpenEJB
          Issue Type: Bug
          Components: deployment
    Affects Versions: (trunk/openejb3)
         Environment: Win xp + Hibernate 3.5.5 Final
            Reporter: Pierre V
            Priority: Blocker


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"," "));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message