[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1608) Hibernate Configuration view should display all database

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Thu Jun 16 02:06:29 EDT 2011


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

Dmitry Geraskov commented on JBIDE-1608:
----------------------------------------

>when jdbc without database HC seems to be connected but no nodes are visible, no errors (it's quite confusing)
This is like expected. When there is an error - user will see an appropriate decorator. But when connection is established, but due to user's settings no tables are retrieved no error should be shown. Absence of the error decorator say to the user that the connection to database established successfully.
>co context menu for direct hibernate configuration
Not sure what you mean here. Direct access to Console Configuration properties wizard or? Look at "Edit Configuration" if so.

> Hibernate Configuration view should display all database 
> ---------------------------------------------------------
>
>                 Key: JBIDE-1608
>                 URL: https://issues.jboss.org/browse/JBIDE-1608
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Dmitry Geraskov
>            Priority: Minor
>             Fix For: 3.3.0.M1
>
>         Attachments: right case.jpg, wrong case.jpg
>
>
> Look at the attached file hibernate.cfg.xml - if <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/mysql</property>
> Hibernate Configuration view -> ... -> Database display correctly mysql database - but if 
> <property name="hibernate.connection.url">jdbc:mysql://localhost:3306</property>
> look like this 
> Hibernate Configuration view -> ... -> Database display nothing and the user can't understand what is wrong - I provide 2 screenshots
> the same if 
> <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/mysql1</property>
> mysql1 - there is no such DB
> as I think in first case Hibernate Configuration should display all mysql DBs and in the second case the user should get message - 
> something like "Can't find shuch DB"
> Other thing - then I press right mouse button on Hibernate Configuration view -> ... -> Database - I expect to get possibility to configure
> DB URL and may be some other properties - the best thing here if I'll get some dialog - or at least possibility to open hibernate.cfg.xml for edit.
> For this I'll create other new issue...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list