|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.sdk.jpa.NamedQueryFactory
@Generated(value="org.jomc.tools.SourceFileProcessor 1.0", comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools") public final class NamedQueryFactory extends Object
Factory providing a named JPA query instance.
Specifications
'javax.persistence.Query'
(javax.persistence.Query)
Multiton
Properties
parameterMap
"
Property of typejava.util.Map<String,Object>
.Map of parameters to set on the query.
queryName
"
Property of typejava.lang.String
.Name of the query to provide.
Dependencies
EntityManager
"Dependency on'javax.persistence.EntityManager'
(javax.persistence.EntityManager)
.
Constructor and Description |
---|
NamedQueryFactory()
Creates a new NamedQueryFactory instance. |
Modifier and Type | Method and Description |
---|---|
javax.persistence.Query |
getObject()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Generated(value="org.jomc.tools.SourceFileProcessor 1.0", comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools") public NamedQueryFactory()
NamedQueryFactory
instance.
Method Detail |
---|
public javax.persistence.Query getObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |