[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3266) Connection url is not escaped when set into hibernate.properties of seam-gen
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Mon Nov 24 09:56:36 EST 2008
[ https://jira.jboss.org/jira/browse/JBIDE-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12439489#action_12439489 ]
Max Rydahl Andersen commented on JBIDE-3266:
--------------------------------------------
well the url is *correct*, it is just that when you put it into a properties file it should get encoded (i.e. a \ should be a \\)
> Connection url is not escaped when set into hibernate.properties of seam-gen
> ----------------------------------------------------------------------------
>
> Key: JBIDE-3266
> URL: https://jira.jboss.org/jira/browse/JBIDE-3266
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Seam
> Affects Versions: 3.0.0.cr1
> Reporter: Max Rydahl Andersen
> Priority: Minor
> Fix For: 3.0.0.cr1
>
>
> if your DTP connection has \ in it, the conneciton string ends literally causing it to be non-escape.
> i.e. if you use the Derby connection from BIRT you get something like this
> hibernate.connection.url=jdbc\:derby\:C\:Usersmax\runtime-New_configuration.metadata.pluginsorg.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb/db/BirtSample
> which will result in it in not parsing the url correctly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list