fixed bad JPQL in auth holder cleanup class

Conflicts:
	openid-connect-common/src/main/java/org/mitre/oauth2/model/AuthenticationHolderEntity.java
pull/661/merge
Justin Richer 2014-04-16 21:17:56 -04:00
parent 287dce5c02
commit da862acc7e
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ import org.springframework.security.oauth2.provider.OAuth2Authentication;
@NamedQueries ({
@NamedQuery(name = "AuthenticationHolderEntity.getByAuthentication", query = "select a from AuthenticationHolderEntity a where a.authentication = :authentication"),
@NamedQuery(name = "AuthenticationHolderEntity.getAll", query = "select a from AuthenticationHolderEntity a"),
@NamedQuery(name = "AuthenticationHolderEntity.getUnusedAuthenticationHolders", query = "select a from AuthenticationHolderEntity a where a.id not in (select t.authenticationHolderId from OAuth2AccessTokenEntity t) and a.id not in (select r.authenticationHolderId from OAuth2RefreshTokenEntity r)")
@NamedQuery(name = "AuthenticationHolderEntity.getUnusedAuthenticationHolders", query = "select a from AuthenticationHolderEntity a where a.id not in (select t.authenticationHolder.id from OAuth2AccessTokenEntity t) and a.id not in (select r.authenticationHolder.id from OAuth2RefreshTokenEntity r)")
})
public class AuthenticationHolderEntity {