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

Multiple issues with New hbm.xml wizard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.1.0.CR1
    • 3.1.0.M3
    • hibernate
    • None
    • Documentation (Ref Guide, User Guide, etc.)

      Now that I can actual run the new hbm.xml wizard to completion here are a couple of issues/annoyances:

      1) There are zero instructions in the wizard making it rather hard for the user to actual know what is going on.

      • first page shows a tree with no instructions of what you expect the user to do
      • second page shows a list that can be bigger than what were selected on the first page, with no explanation on what this extra page means and there does not seem to be any way of editing anything on this page ?
      • second page also shows a table with a column that is for what ?

      2) The first page does not take the current selection into account - i.e. if I select class Test, press New hbm.xml wizard I still have to go through alot of folders to locate it again to have it selected

      3) I still think this tree is a bad first thing to show since it is not scalable beyond example projects.
      How about having a table showing the list of classes to add and then have an Add/Remove button for the items ?
      (see attached file)

      2) The generated files got various bad defaults:

      • the proxy attribute is set which indicates the model behind is build wrong. seems like you use the base name instead of the FQN. i.e. my.package.Product should be used instead of just Product
      • associations have fetch="select" set; that doesn't seem like the default we want to encourage!

      3) (feature request) be able to specify the default identity strategy for int, long, etc. i.e. to avoid seeing "assigned" everywhere.

            aklimkovich Anton Klimkovich (Inactive)
            manderse@redhat.com Max Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: