[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2244) Add support for Hibernate in Eclipse Dali

Dima Geraskov (JIRA) jira-events at lists.jboss.org
Sat Jun 28 08:12:46 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2244?page=comments#action_12419278 ] 
            
Dima Geraskov commented on JBIDE-2244:
--------------------------------------

Our console configuration doesn't able to work with dtp connection profile.
To build a temporary console configuration at runtime we should (1 of 4):

a) have necessary properties specified in persistence.xml (like driver, url, user name etc)

b) have line <property name="hibernate.ejb.cfgfile" value="/hibernate.cfg.xml"/> in persistence.xml and right hibernate.cfg.xml

c) create hibernate.properties file with the properties from dtp connection profile (we can do not delete this file when delete temporary configuration, just rewrite it on each run, so we need hide the file from project)

d) teach our console configuration to work with dtp connection profile.

*a* and *b* variants doesn't require selection of connection profile for generating( owing to flexibily loss and duplication of connection settings).
We can change core plugin's code to create necessary content in persistence xml at the time of project creation.

IMHO *d* variant is the most far-sighted and flexible, and I know that Vitali had worked on it (JBIDE-719), but the code still be only a patch, but not applied code.

> Add support for Hibernate in Eclipse Dali
> -----------------------------------------
>
>                 Key: JBIDE-2244
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2244
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Ganymede, Hibernate
>    Affects Versions: 3.0.0.alpha
>            Reporter: Max Rydahl Andersen
>         Assigned To: Dima Geraskov
>             Fix For: 3.0.0.alpha
>
>
> Implement hibernate support in Dali similar to what is done for EclipseLink in ganymede.
> Generate Entities
> persistence.xml support

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