[jbosstools-issues] [JBoss JIRA] (JBIDE-12491) JBT Doesn't place the JDBC Driver correctly
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Tue Aug 28 14:53:15 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714368#comment-12714368 ]
Alexey Kazakov commented on JBIDE-12491:
----------------------------------------
We always set two variables in our inner Seam Tools model:
@driverJar@ - array of full paths of all the drivers.
@database.type@ - the name of the first driver jar from the @driverJar@
Everything worked before because Seam 2.2 didn't use driver jar name at all and Seam 2.3 betas used @database.type@
In the last builds -ds.xml template was changed.
So we got the bug.
And yes, we can fix it on our side.
> JBT Doesn't place the JDBC Driver correctly
> -------------------------------------------
>
> Key: JBIDE-12491
> URL: https://issues.jboss.org/browse/JBIDE-12491
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Seam 2
> Environment: Juno, JBT Daily Plugin
> Reporter: Daniel Hinojosa
> Assignee: Alexey Kazakov
> Fix For: 3.3.2, 4.0.0.M1
>
>
> in the ds.xml file. the following gets generated under driver. Works fine under regular seam-gen.
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <datasources xmlns="http://www.jboss.org/ironjacamar/schema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://www.jboss.org/ironjacamar/schema/datasources_1_0.xsd">
> <datasource
> jndi-name="nationalparkDatasource"
> enabled="true"
> use-java-context="true" pool-name="nationalparkDatasource_pool">
> <connection-url>jdbc:hsqldb:MyDB</connection-url>
> <driver>[Ljava.lang.String;@4633819a</driver>
> <security>
> <user-name>sa</user-name>
> <password></password>
> </security>
> </datasource>
> </datasources>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list