[jbosstools-issues] [JBoss JIRA] (TOOLSDOC-555) The datasource definition generated by the example does not match the text in this section
Michelle Murray (JIRA)
issues at jboss.org
Fri Nov 21 01:08:39 EST 2014
[ https://issues.jboss.org/browse/TOOLSDOC-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021806#comment-13021806 ]
Michelle Murray edited comment on TOOLSDOC-555 at 11/21/14 1:07 AM:
--------------------------------------------------------------------
I cannot reproduce this. I have run through the Start Developing steps again and find them to be as published.
The generated ticket-monster-ds.xml files shows:
{noformat}
<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://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd">
<!-- The datasource is bound into JNDI at this location. We reference
this in META-INF/persistence.xml -->
<datasource jndi-name="java:jboss/datasources/ticket-monsterDS"
pool-name="ticket-monster" enabled="true"
use-java-context="true">
<connection-url>jdbc:h2:mem:ticket-monster;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
</datasources>
{noformat}
There is no 'ticket-monster-quickstart'.
was (Author: mmurray):
I cannot reproduce this. I have run through the Start Developing steps again and find them to be as published.
The generated ticket-monster-ds.xml files shows:
{noformat}
<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://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd">
<!-- The datasource is bound into JNDI at this location. We reference
this in META-INF/persistence.xml -->
<datasource jndi-name="java:jboss/datasources/ticket-monsterDS"
pool-name="ticket-monster" enabled="true"
use-java-context="true">
<connection-url>jdbc:h2:mem:ticket-monster;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
</datasources>
{noformat}
> The datasource definition generated by the example does not match the text in this section
> ------------------------------------------------------------------------------------------
>
> Key: TOOLSDOC-555
> URL: https://issues.jboss.org/browse/TOOLSDOC-555
> Project: Documentation for JBoss Tools and Developer Studio
> Issue Type: Bug
> Affects Versions: 4.2.0.Final
> Environment: Build Name: 22960, Start Developing-8.0
> Build Date: 22-10-2014 11:29:36
> Topic ID: 13797-717266 [Latest]
> Reporter: Len DiMaggio
> Assignee: Michelle Murray
> Priority: Minor
>
> Title: Access and Query the Database
> Describe the issue:
> The text in this section refers to this datasource:
> <connection-url>jdbc:h2:mem:ticket-monster;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1</connection-url>
> The datasource definition as generated by the example is:
> <connection-url>jdbc:h2:mem:ticket-monster-quickstart;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1</connection-url>
> Suggestions for improvement:
> Additional information:
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jbosstools-issues
mailing list