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

Update persistence.xml and orm-dbtype.xml to reflect JEE7 version

    Details

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

      Description

      <persistence version="2.0"
          xmlns="http://java.sun.com/xml/ns/persistence"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
                              http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
      

      <persistence version="2.1"
          xmlns="http://xmlns.jcp.org/xml/ns/persistence"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
                              http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
      
      <entity-mappings version="2.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns="http://java.sun.com/xml/ns/persistence/orm"
          xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm
                              http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
      

      <entity-mappings version="2.1"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns="http://xmlns.jcp.org/xml/ns/persistence/orm"
          xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence/orm
                              http://xmlns.jcp.org/xml/ns/persistence/orm_2_1.xsd">
      

      Note that this might affect our bundled Hibernate libraries which are probably not compatible with this Java Persistence API (JPA) version and needs to be upgraded as well.

      Do this for EJBCA 7.0.0 to avoid breakage etc. in minor versions.

      For this we need to upgrade Hibernate jars (used by DB CLI), and of course test DB CLI after.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ulf_undmark Ulf Undmark
              Reporter:
              johan Johan Eklund
              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 - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 2 hours, 20 minutes Remaining Estimate - 6 hours
                  6h
                  Logged:
                  Time Spent - 2 hours, 20 minutes Remaining Estimate - 6 hours
                  2h 20m