Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-540

Discover JPA Mapped Entities automatically when using JPA store

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • PLINK_2.7.0.Beta1
    • PLINK_2.6.0.Final
    • BASE
    • None

    Description

      Today, users need to specify all JPA entities when providing the configuration to the JPA identity store, as follows:

      stores().jpa()
          .mappedEntity(
              AccountTypeEntity.class,
              RoleTypeEntity.class,
              GroupTypeEntity.class,
              IdentityTypeEntity.class,
              RelationshipTypeEntity.class,
              RelationshipIdentityTypeEntity.class,
              PartitionTypeEntity.class,
              PasswordCredentialTypeEntity.class,
              AttributeTypeEntity.class)
      

      The idea is make the configuration even easier and just use:

      stores().jpa()
      

      Entities will be automatically scanned and configured if user has not set any entities by his own.

      Attachments

        Issue Links

          Activity

            People

              psilva@redhat.com Pedro Igor Craveiro
              psilva@redhat.com Pedro Igor Craveiro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: