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

Max Andersen (JIRA) jira-events at lists.jboss.org
Wed Sep 12 03:22:22 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-702?page=comments#action_12376331 ] 
            
Max Andersen commented on JBIDE-702:
------------------------------------

this would require changes in seam-gen to work since it is seam-gen that controls the name of used datasource ;(

> 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