Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-6210

Stop using Ejb3Configuration in DatabaseSchemaScriptCommand

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.0.0
    • Component/s: None
    • Labels:

      Description

      DatabaseSchemaScriptCommand contains the following code:

      final Ejb3Configuration ejb3Configuration = new Ejb3Configuration().configure("ejbca-read", null);
      final Configuration hibernateConfiguration = ejb3Configuration.getHibernateConfiguration();
      

      The Ejb3Configuration constructor is deprecated and is removed in newer versions of the Hibernate library which prevents us from upgrading external jars.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ulf_undmark Ulf Undmark
                Reporter:
                bastianf Bastian Fredriksson
                Verified by:
                Samuel Lidén Borell
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 4 hours
                  2d 4h