[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4899) 'Hibernate Configurations' view is not updated after hibernate console enabled project with configuration is deleted from workspace

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Tue Oct 6 06:42:49 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12488564#action_12488564 ] 

Vitali Yemialyanchyk commented on JBIDE-4899:
---------------------------------------------

"A java launch configuration is removed since it refers to a specific java project and hence it gets deleted" - that makes sense IMO too.

"The same thing could be said about Hibernate Launch Configurations - if they refer back to a project they also don't make sense to keep around. What is the counter argument for that ? Why should the launch config be kept around if the project it depends on is removed ? isn't that exactly the same as for the Java launch configs ?"

"Hibernate Launch Configurations" - I do not understand. There is "Hibernate Console Configurations" and "Hibernate Code Generation Configurations". Only "Hibernate Console Configuration" refers to some project. "Hibernate Code Generation Configurations" refers too "Hibernate Console Configuration". So here we talk about "Hibernate Console Configuration".
Next -> my arguments why we should not delete "Hibernate Console Configuration" with the reference project.
Try to imagine simple situation - I have 2 projects with the same Hibernate settings. First project is the reference project. I delete it. I want use my Hibernate consol config with the second project. I just edit it, change "Project name". If I want delete my "Hibernate Console Configuration" I just select it, press delete button and confirm deletion - it is SOO SIMPLE. Why we should "generate surprise behavior" for users?

> 'Hibernate Configurations' view is not updated after hibernate console enabled project with configuration is deleted from workspace
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-4899
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4899
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.1.0.M4
>            Reporter: Denis Golovin
>            Assignee: Dmitry Geraskov
>             Fix For: 3.1.0.M4
>
>         Attachments: JBIDE-4899.swf
>
>
> 1. EXECUTE: Create java project
> 2. EXECUTE: Enable Hibernate Console and add hibernate Console configuration
> 3. ASSERT: Configuration appears in Hibernate Configurations View
> 4. EXECUTE: Delete Java Project from step 1
> 5. ASSERT: Hibernate Configurations View doesn't contain configuration corresponded to deleted project

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