About name

61-70 of 200Refresh
JPA Doc
33

createNamedQuery(name)

Method javax.persistence.EntityManager Query createNamedQuery(   String name ) Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL). Parameters: name - the name of a query defined in metadata Returns: the new query instance Throws
JPA Doc
33

createNamedQuery(name, resultClass)

Method javax.persistence.EntityManager TypedQuery createNamedQuery(   String name,   Class resultClass ) Create an instance of TypedQuery for executing a Java Persistence query language named ... to the type specified by the resultClass argument. Parameters: name - the name of a query defined in
JPA Doc
33

Entity.name

Annotation Element javax.persistence.Entity String name (Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Default value: "" Since: JPA 1.0
JPA Doc
33

getParameter(name)

Method javax.persistence.Query Parameter getParameter(   String name ) Get the parameter object corresponding to the declared parameter of the given name. This method is not required to be supported for native queries. Parameters: name - parameter name Returns: parameter object Throws
JPA Doc
33

getParameter(name, type)

Method javax.persistence.Query Parameter getParameter(   String name,   Class type ) Get the parameter object corresponding to the declared parameter of the given name and type. This method is required to be supported for criteria queries only. Parameters: name - parameter name type - type
JPA Doc
33

getParameterValue(name)

Method javax.persistence.Query Object getParameterValue(   String name ) Return the value bound to the named parameter. Parameters: name - parameter name Returns: parameter value Throws: IllegalStateException - if the parameter has not been been bound IllegalArgumentException - if the parameter of the specified name does not exist Since: JPA 2.0
JPA Doc
33

PrimaryKeyJoinColumn.name

Annotation Element javax.persistence.PrimaryKeyJoinColumn String name (Optional) The name of the primary key column of the current table. Defaults to the same name as the primary key column of the primary table of the superclass (JOINED mapping strategy); the same name as the primary key column
JPA Doc
33

setParameter(name, value)

Method javax.persistence.Query Query setParameter(   String name,   Object value ) Bind an argument to a named parameter. Parameters: name - parameter name value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond
JPA Doc
33

setParameter(name, value)

Method javax.persistence.TypedQuery TypedQuery setParameter(   String name,   Object value ) Bind an argument to a named parameter. Parameters: name - parameter name value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not
JPA Doc
33

setParameter(name, value, temporalType)

Method javax.persistence.Query Query setParameter(   String name,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance Throws