[
https://issues.jboss.org/browse/TOOLSDOC-555?page=com.atlassian.jira.plug...
]
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)