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

Adding SQLServerMetaDataDialect to support auto discovery of Identity and guid strategy

    Details

    • Type: Feature Request
    • Status: Reopened (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.0.x, 4.1.x
    • Component/s: hibernate
    • Labels:
      None

      Description

      Reverse engineering the MS SQLServer database with hibernate tools does not auto discover the identity fields and uniqueidentifier (guid) fields. So when generated the entities the only annotation you will see is @id.
      I created a new meta data dialect to discover identity and guid fields.

        Gliffy Diagrams

          Activity

          Hide
          maxandersen Max Rydahl Andersen added a comment -

          damn - too many issues to cover so this slipped. marked as blocker for M4 hoping that will make it in.

          Show
          maxandersen Max Rydahl Andersen added a comment - damn - too many issues to cover so this slipped. marked as blocker for M4 hoping that will make it in.
          Hide
          maxandersen Max Rydahl Andersen added a comment -

          Dima - can you test this one and clean up the diff so it doesn't alter pom.xml unecessarily ?

          Show
          maxandersen Max Rydahl Andersen added a comment - Dima - can you test this one and clean up the diff so it doesn't alter pom.xml unecessarily ?
          Hide
          dgeraskov Dmitry Geraskov added a comment -

          File with patches is attached. Each patch has name which explains the fix.
          Also there are 2 files which could be used to run the test. As main RDBMS is hsqldb no need to change pom.xml in repository.

          Show
          dgeraskov Dmitry Geraskov added a comment - File with patches is attached. Each patch has name which explains the fix. Also there are 2 files which could be used to run the test. As main RDBMS is hsqldb no need to change pom.xml in repository.
          Hide
          dgeraskov Dmitry Geraskov added a comment -

          Moved to Beta1

          Show
          dgeraskov Dmitry Geraskov added a comment - Moved to Beta1
          Hide
          dgeraskov Dmitry Geraskov added a comment -

          Added reference to pull request with changed patch. Reassigned to Max for review.

          Show
          dgeraskov Dmitry Geraskov added a comment - Added reference to pull request with changed patch. Reassigned to Max for review.
          Hide
          maxandersen Max Rydahl Andersen added a comment -

          bumped - outoftime (again

          Show
          maxandersen Max Rydahl Andersen added a comment - bumped - outoftime (again
          Hide
          maxandersen Max Rydahl Andersen added a comment -

          koen - your pullrequest handles these - assigning to you for closing when applied.

          Show
          maxandersen Max Rydahl Andersen added a comment - koen - your pullrequest handles these - assigning to you for closing when applied.
          Hide
          koen.aers Koen Aers added a comment -

          Reopening because the auto discovery is not yet supported. We need a SQL Server database to verify this.

          Show
          koen.aers Koen Aers added a comment - Reopening because the auto discovery is not yet supported. We need a SQL Server database to verify this.

            People

            • Assignee:
              koen.aers Koen Aers
              Reporter:
              derkd Derk Dukker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development