[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-719) Hibernate Tools should be able to use a named Eclipse provided connection

Max Andersen (JIRA) jira-events at lists.jboss.org
Thu Jan 31 06:56:59 EST 2008


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

The idea is that hibernate.cfg.xml does not know about this. This is basically only for the Hibernate Console configuration to have a setting that allows the user to use the DTP provided connection details/info instead of what is in cfg.xml and jpa persistence.xml

Because in the configuration files it might be a datasource which we do not know anything about and thus users have to maintain 2 versions of cfg.xml or persistence.xml. Today we avoid that by having the option to override the settings via a properties file (see how that is done for seam generated projects via the hibernate-tools.properties)

What we need is that Hibernate Console configuration can point to a named DTP connection and then IFF that name is specified it should be looked up in DTP and we should get the connection information from there and use that instead of the ones specifed by default.






> Hibernate Tools should be able to use a named Eclipse provided connection
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-719
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-719
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Hibernate
>            Reporter: Max Andersen
>         Assigned To: Vitali Yemialyanchyk
>            Priority: Optional
>             Fix For: 2.1
>
>   Original Estimate: 4 days
>  Remaining Estimate: 4 days
>
> currently we use the settings specified in hibernate.properties/cfg.xml/persistence.xml
> Users should be able to say to use a named WTP provided database connection. 

-- 
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