org.jboss.errai.jpa.rebind
Class TypedQueryFactoryGenerator
java.lang.Object
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
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 |
TypedQueryFactoryGenerator
public TypedQueryFactoryGenerator(javax.persistence.EntityManager em,
javax.persistence.NamedQuery namedQuery)
generate
public Statement generate(Context context)
- Returns a statement that evaluates to a new instance of the TypedQueryFactory implementation.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.