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

[jira] Updated: (OPENEJB-1371) Bad persistence unit URL format with Hibernate 3.5.5

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

Pierre V updated OPENEJB-1371:
------------------------------

    Summary: Bad persistence unit URL format with Hibernate 3.5.5  (was: Bad peristence unit URL format with Hibernate 3.5.5)

> Bad persistence 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.