public Query createQuery ( final EntityManager manager ) { if ( manager == null ) { throw new NullPointerException ( "Entity Manager required" ) ; } final Query query = manager . createQuery ( render ( ) ) ; for ( Parameter < ? > parameter : parameters ) { parameter . apply ( query ) ; } return query ; }
Returns a JPA Query with all previously specified parameters added .