[jboss-jira] [JBoss JIRA] Commented: (AS7-975) Bind the default H2 datasource to java:/DefaultDS
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Fri Jun 10 09:06:59 EDT 2011
[ https://issues.jboss.org/browse/AS7-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607832#comment-12607832 ]
Max Rydahl Andersen commented on AS7-975:
-----------------------------------------
So highly agree. The type of db (H2) doesn't have anything to do in the name either.
Example apps would just target "defaultDS" and then user can replace that with their own better db without having to also change their example to be "correct".
> Bind the default H2 datasource to java:/DefaultDS
> -------------------------------------------------
>
> Key: AS7-975
> URL: https://issues.jboss.org/browse/AS7-975
> Project: Application Server 7
> Issue Type: Feature Request
> Components: JCA
> Affects Versions: 7.0.0.Beta3
> Reporter: Jozef Hartinger
> Priority: Critical
>
> A lot of demo applications (e.g. Seam applications) that work on JBoss AS 6 and use the built-in datasource assume to find it at java:/DefaultDS. However, AS 7's default datasource is available at java:/H2DS.
> To retain backward compatibility with pre-AS7 JEE applications, I think it's a good idea to bind the default datasource to java:/DefaultDS as well. Otherwise, the applications will:
> a) need a separate build profile for AS 7
> b) fail to deploy
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list