You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Francis De Brabandere (JIRA)" <ji...@apache.org> on 2010/10/22 12:26:20 UTC

[jira] Updated: (OPENEJB-1371) Invalid persistence unit URL on a path with spaces using Hibernate

     [ https://issues.apache.org/jira/browse/OPENEJB-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francis De Brabandere updated OPENEJB-1371:
-------------------------------------------

    Summary: Invalid persistence unit URL on a path with spaces using Hibernate  (was: Bad persistence unit URL format with Hibernate 3.5.5)

> Invalid persistence unit URL on a path with spaces using Hibernate
> ------------------------------------------------------------------
>
>                 Key: OPENEJB-1371
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1371
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: (trunk/openejb3), 3.1.3
>         Environment: Win xp / Linux + Hibernate 3.5.5 Final / Hibernate 3.2.6.ga
>            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.