1 Reply Latest reply on Aug 31, 2009 3:54 PM by Marco Röösli

    JpaIdentityStore query entity without package

    John Augusto Charnet Newbie

      today the JpaIdentityStore class queries the user, role, entity with the full package class name:

      "select u from " + userClass.getName() + " u where u." + userPrincipalProperty.getName() +
                  " = :username")

      Is there any chance, this could be changed to get the class's simple name ?

      ""select u from " + userClass.getSimpleName() + " u where u." + userPrincipalProperty.getName() +
                  " = :username")"

      This would help using another persistence provider (eclipselink for example) when using seam's security.

      Thanks a lot.