Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-1608

Hibernate Configuration view should display all database

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • 3.3.0.M1
    • None
    • hibernate
    • None

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

        1. right case.jpg
          303 kB
          Vitali Yemialyanchyk
        2. wrong case.jpg
          282 kB
          Vitali Yemialyanchyk

            dgeraskov Dmitry Geraskov (Inactive)
            vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: