[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-4985) New seam projects should configure hibernate tools with the DTP connection

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Thu Nov 12 05:27:05 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-4985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Geraskov updated JBIDE-4985:
-----------------------------------

    Attachment: connection_profile_connection.zip


I need someone to review attached patch.
Description:
1. WAR-deployable project
1.1 Seam+JPA facets with Hibernate Platform. Hibernate Platform creates required console configuration. DB connection=[JPA configured connection]. The file is created in .metadata folder. Seam facet doesn't need to copy .launch file from seam-gen.
1.2 Seam+JPA facets with not Hibernate Platform(Generic or EclipseLink).  Seam facet need to copy .launch file from seam-gen into project's folder. DB connection=[JPA configured connection]. 
1.3 Seam without jpa facet. Seam facet need to copy another .launch file from seam-gen into project's folder. DB connection=%connection_profile%
2. EAR deployable project.
1.1 Seam+JPA facets with Hibernate Platform. JPA facet installed to <project_name> project(but we want to <project_name>-ejb). Hibernate Platform creates console configuration for <project_name>. Seam facet need to copy .launch file from seam-gen into ejb project. DB connection=%connection_profile% as jpa facet installed to another project. So we have 2 console configurations here.
1.2 Seam without jpa facet (or JPA facets with not Hibernate Platform). Seam facet need to copy .launch file from seam-gen into project's folder. DB connection=%connection_profile%

Property file is not more need, so it is not copied from seam-gen.

Problems:
for ear need to fix JBIDE-4988.
I don't like the ui in seam wizard page when user should not select connection profile. (I will attach the screenshot)
When user doesn't select connection profile on jpa wizard page the error about not selected profile shown on seam wizard page.

> New seam projects should configure hibernate tools with the DTP connection
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-4985
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4985
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Hibernate, Seam
>    Affects Versions: 3.1.0.M3
>            Reporter: Max Rydahl Andersen
>            Assignee: Alexey Kazakov
>             Fix For: 3.1.0.CR1
>
>         Attachments: connection_profile_connection.zip
>
>
> Now that hibernate console supports DTP connection profiles shouldn't we start using that for our Seam projects ?
> Removing the need to have connection info in the hibernate-console.properties ? (the other fields related to tx and others still need to there though)

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

        


More information about the jbosstools-issues mailing list