[jbosstools-issues] [JBoss JIRA] (JBIDE-12491) JBT Doesn't place the JDBC Driver correctly

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Aug 29 12:08:33 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714620#comment-12714620 ] 

Alexey Kazakov commented on JBIDE-12491:
----------------------------------------

{quote}why would database.type be the first driver jar ?{quote}
I don't know. But it's the fact. Seam 2.3 (at least beta2) used @database.type@ as a name of the jar.
{quote}has database.type not been used somewhere else ?{quote}
I don't see any usage of this variable somewhere else.
{quote}and when would @driverJar@ as an array ever make sense ?{quote}
We used it as an array of drivers since the very first versions of Seam Tools. But I don't remember why. It looks weird but everithig worked fine. We used @driverJar@ only for out inner model and I don't see any mentions of this variable in Seam 2 (until the latest changes in Seam 2.3).
Anyway, I checked carefuly our code and tests project generation for Seaam 2.x projects. Everything works fine now.
                
> 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: Daniel Azarov
>             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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list