[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-702) No connection specified, use defaultDs from jboss ?

Michael Yuan (JIRA) jira-events at lists.jboss.org
Wed Aug 29 17:44:18 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-702?page=comments#action_12374488 ] 
            
Michael Yuan commented on JBIDE-702:
------------------------------------

In my previous comment, I meant to say that the default DS generated for #1 will NOT be under the control of RHDS. That is why #2 will detect an empty connection profile and ask the user to create one. The newly created profile will override the default one.

> No connection specified, use defaultDs from jboss ?
> ---------------------------------------------------
>
>                 Key: JBIDE-702
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-702
>             Project: JBoss Tools
>          Issue Type: Feature Request
>          Components: Seam
>            Reporter: Max Andersen
>
> Suggestion from Yuan is that if users doesn't specify any connection preferences we should use the defaultDs.
> Issues I see with this is that then our project will no longer "control" the datasource and what connection properties that is in it ?
> when we add generate-entities it should pick up what connection data is relevant.
> Which one will be the master ? today in seam-gen it is spread out and I don't like to make that worse...
> e.g. in seam-gen there is 
> 1) the actual datasource in jboss
> 2) the connection properties in build.properties
> 3) the connection properties in hibernate.console properties
> None of these are reliably possible to keep in sync afaik - neither manually or automatically

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list