Uploaded image for project: 'James Mailbox'
  1. James Mailbox
  2. MAILBOX-14

Name JPA Database Tables and Columns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • jpa
    • None

    Description

      The database tables and columns naming are delegated to OpenJPA. This depends on the database.
      We should fix them via JPA annotations so we have predictive and common behaviour on all databases (mysql, oracle,...).
      We should respect the uppercase and underscore pattern (TABLE_NAME, COLUMN_NAME).

      All JPA Domain classes need to be adapted (mailbox) in IMAP, but also in server.

      Attachments

        1. james-jpa-db-1-without-mailbox-fk.png
          76 kB
          Eric Charles
        2. james-jpa-db-1-with-mailbox-fk.png
          83 kB
          Eric Charles
        3. james-jpa-db-2.png
          82 kB
          Eric Charles

        Activity

          People

            Unassigned Unassigned
            eric@apache.org Eric Charles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: