Errai 3.0.1-SNAPSHOT

org.jboss.errai.jpa.rebind
Class TypedQueryFactoryGenerator

java.lang.Object
  extended by org.jboss.errai.jpa.rebind.TypedQueryFactoryGenerator

public class TypedQueryFactoryGenerator
extends Object

Code generator for making TypedQuery instances based on existing typesafe queries or JPQL queries.

Author:
Jonathan Fuerth

Constructor Summary
TypedQueryFactoryGenerator(javax.persistence.EntityManager em, javax.persistence.NamedQuery namedQuery)
           
 
Method Summary
 Statement generate(Context context)
          Returns a statement that evaluates to a new instance of the TypedQueryFactory implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypedQueryFactoryGenerator

public TypedQueryFactoryGenerator(javax.persistence.EntityManager em,
                                  javax.persistence.NamedQuery namedQuery)
Method Detail

generate

public Statement generate(Context context)
Returns a statement that evaluates to a new instance of the TypedQueryFactory implementation.


Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.