Internal Website Search

51-100 of 200 results

TypedQuery.setParameter(name,value,temporalType) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setParameter (   String  name ... an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter ... - if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect type Since: JPA 2.0

TypedQuery.setParameter(name,value,temporalType) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setParameter (   String  name ... an instance of java.util.Calendar to a named parameter. Parameters: name - parameter name value ... : IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect type Since: JPA 2.0

javax.persistence.Entity.name

JPA Annotation Attribute in javax.persistence.Entity String name default "" (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. Since: JPA 1.0

EntityManager.createNamedQuery(name) - JPA Method

; 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 Return: the new query instance Throws: IllegalArgumentException - if a query has not been defined with the given name or if the query string is found to be invalid Since: JPA 1.0

javax.persistence.PrimaryKeyJoinColumn.name

JPA Annotation Attribute in javax.persistence.PrimaryKeyJoinColumn String name default "" (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

javax.persistence.CollectionTable.name

JPA Annotation Attribute in javax.persistence.CollectionTable String name default "" (Optional) The name of the collection table. If not specified, it defaults to the concatenation of the name of the containing entity and the name of the collection attribute, separated by an underscore. Since: JPA 2.0

CriteriaBuilder.parameter(paramClass,name) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder ParameterExpression parameter (   Class  paramClass,    String  name ) Create a parameter expression with the given name . Parameters: paramClass - parameter class name - name that can be used to refer to the parameter Return: parameter expression Since: JPA 2.0

javax.persistence.UniqueConstraint.name

JPA Annotation Attribute in javax.persistence.UniqueConstraint String name default "" (Optional) Constraint name . A provider-chosen name will be chosen if a name is not specified. Since: JPA 2.0

EntityManager.createNamedStoredProcedureQuery(name) - JPA Method

(   String  name ) Create an instance of StoredProcedureQuery for executing a stored ... of type Object[]. Parameters: name - name assigned to the stored procedure query in metadata Return: the new stored procedure query instance Throws: IllegalArgumentException - if a query has not been defined with the given name Since: JPA 2.1

javax.persistence.AssociationOverride.name

JPA Annotation Attribute in javax.persistence.AssociationOverride String name default null (Required) The name of the relationship property whose mapping is being overridden if property-based access is being used, or the name of the relationship field if field-based access is used. Since: JPA 1.0

javax.persistence.JoinTable.name

JPA Annotation Attribute in javax.persistence.JoinTable String name default "" (Optional) The name of the join table. Defaults to the concatenated names of the two associated primary entity tables, separated by an underscore. Since: JPA 1.0

javax.persistence.MapKeyJoinColumn.name

JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn String name default "" (Optional) The name of the foreign key column for the map key. The table in which it is found depends ... (only applies if a single join column is used.) The concatenation of the following: the name

javax.persistence.Table.name

JPA Annotation Attribute in javax.persistence.Table String name default "" (Optional) The name of the table. Defaults to the entity name . Since: JPA 1.0

javax.persistence.MapKey.name

JPA Annotation Attribute in javax.persistence.MapKey String name default "" (Optional) The name of the persistent field or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key

javax.persistence.MapKeyColumn.name

JPA Annotation Attribute in javax.persistence.MapKeyColumn String name default "" (Optional) The name of the map key column. The table in which it is found depends upon the context. If the map key ... that is the value of the map. Defaults to the concatenation of the following: the name of the referencing relationship field or property; "_"; " KEY ". Since: JPA 2.0

javax.persistence.OrderColumn.name

JPA Annotation Attribute in javax.persistence.OrderColumn String name default "" (Optional) The name of the ordering column. Defaults to the concatenation of the name of the referencing property or field; "_"; "ORDER". Since: JPA 2.0

javax.persistence.Column.name

JPA Annotation Attribute in javax.persistence.Column String name default "" (Optional) The name of the column. Defaults to the property or field name . Since: JPA 1.0

javax.persistence.ForeignKey.name

JPA Annotation Attribute in javax.persistence.ForeignKey String name default "" (Optional) The name of the foreign key constraint. If this is not specified, it defaults to a provider-generated name . Since: JPA 2.1

javax.persistence.AttributeOverride.name

JPA Annotation Attribute in javax.persistence.AttributeOverride String name default null (Required) The name of the property whose mapping is being overridden if property-based access is being used, or the name of the field if field-based access is used. Since: JPA 1.0

javax.persistence.StoredProcedureParameter.name

JPA Annotation Attribute in javax.persistence.StoredProcedureParameter String name default "" The name of the parameter as defined by the stored procedure in the database. If a name is not specified, it is assumed that the stored procedure uses positional parameters. Since: JPA 2.1

CriteriaBuilder.function(name,type,args) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression function (   String  name ,    Class  type,     Expression ... args ) Create an expression for the execution of a database function. Parameters: name - function name type

javax.persistence.NamedEntityGraph.name

JPA Annotation Attribute in javax.persistence.NamedEntityGraph String name default "" (Optional) The name of the entity graph. Defaults to the entity name of the root entity. Since: JPA 2.1

javax.persistence.Index.name

JPA Annotation Attribute in javax.persistence.Index String name default "" (Optional) The name of the index; defaults to a provider-generated name . Since: JPA 2.1

javax.persistence.NamedStoredProcedureQuery.name

JPA Annotation Attribute in javax.persistence.NamedStoredProcedureQuery String name default null The name used to refer to the query with the EntityManager methods that create stored procedure query objects. Since: JPA 2.1

javax.persistence.NamedQuery.name

JPA Annotation Attribute in javax.persistence.NamedQuery String name default null (Required) The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0

javax.persistence.PersistenceProperty.name

JPA Annotation Attribute in javax.persistence.PersistenceProperty String name default null The name of the property Since: JPA 1.0

javax.persistence.TableGenerator.name

JPA Annotation Attribute in javax.persistence.TableGenerator String name default null (Required) A unique generator name that can be referenced by one or more classes to be the generator for id values. Since: JPA 1.0

javax.persistence.PersistenceUnit.name

JPA Annotation Attribute in javax.persistence.PersistenceUnit String name default "" (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used. Since: JPA 1.0

javax.persistence.NamedNativeQuery.name

JPA Annotation Attribute in javax.persistence.NamedNativeQuery String name default null The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0

javax.persistence.NamedSubgraph.name

JPA Annotation Attribute in javax.persistence.NamedSubgraph String name default null (Required) The name of the subgraph as referenced from a NamedAttributeNode element. Since: JPA 2.1

javax.persistence.SequenceGenerator.name

JPA Annotation Attribute in javax.persistence.SequenceGenerator String name default null (Required) A unique generator name that can be referenced by one or more classes to be the generator for primary key values. Since: JPA 1.0

javax.persistence.PersistenceContext.name

JPA Annotation Attribute in javax.persistence.PersistenceContext String name default "" (Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used. Since: JPA 1.0

javax.persistence.SecondaryTable.name

JPA Annotation Attribute in javax.persistence.SecondaryTable String name default null (Required) The name of the table. Since: JPA 1.0

javax.persistence.ColumnResult.name

JPA Annotation Attribute in javax.persistence.ColumnResult String name default null (Required) The name of a column in the SELECT clause of a SQL query Since: JPA 1.0

Step 2: Entity Class and Persistence Unit

Guest as the class name - use exactly that case sensitive class name . Enter guest as the package name - use exactly that case sensitive package name . Click Next to create the new entity class. In ... name ; private Date signingDate; // Constructors: public Guest() { } public Guest(String name

Step 2: Entity Class and Persistence Unit

  Next ). Enter Guest as the class name - use exactly that case sensitive class name . Enter guest as the package name - use exactly that case sensitive package name . Click Next to create the new ... name ; private Date signingDate; // Constructors: public Guest() { } public Guest(String name

Step 2: Define a JPA Entity Class

) and selecting New Class . Enter guest as the package name - use exactly that case sensitive package name . Enter Guest as the class name - use exactly that case sensitive class name . Click Finish ... String name ; private Date signingDate; // Constructors: public Guest() { } public Guest(String name

Step 2: Define a JPA Entity Class

) and selecting New Java Class ... Enter Guest as the class name - use exactly that case sensitive class name . Enter guest as the package name - use exactly that case sensitive package name . Click Finish ... @GeneratedValue Long id; private String name ; private Date signingDate; // Constructors: public

PersistenceManagerFactory.setName(name) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setName (   String  name ) Sets the name of this PersistenceManagerFactory. Parameters: name - the name of this PMF Since: JDO 2.1

JDOPermission.JDOPermission(name,actions) - JDO Constructor

JDO Constructor in javax.jdo.spi.JDOPermission JDOPermission (   String  name ,    String actions ) Constructs a JDOPermission with the specified name and actions ... to instantiate new Permission objects. Parameters: name - the name of the JDOPermission actions - should be null . Since: JDO 1.0

JDOPermission.JDOPermission(name) - JDO Constructor

JDO Constructor in javax.jdo.spi.JDOPermission JDOPermission (   String  name ) Constructs a JDOPermission with the specified name . Parameters: name - the name of the JDOPermission Since: JDO 1.0

PersistenceManager.getFetchGroup(cls,name) - JDO Method

JDO Method in javax.jdo.PersistenceManager FetchGroup getFetchGroup (   Class cls,    String  name ) Get a modifiable FetchGroup for the Class and name ... the PersistenceManagerFactory. Parameters: cls - the class or interface for the FetchGroup name - the name of the fetch group

PersistenceManager.getSequence(name) - JDO Method

JDO Method in javax.jdo.PersistenceManager Sequence getSequence (   String  name ) Returns the sequence identified by name . Parameters: name - the name of the Sequence Return: the Sequence Since: JDO 2.0

PersistenceManagerFactory.getFetchGroup(cls,name) - JDO Method

 cls,    String  name ) Create an unscoped, modifiable FetchGroup for the Class and name . If a corresponding FetchGroup already exists in PersistenceManagerFactory scope, copy ... . Parameters: cls - the class or interface for the FetchGroup name - the name of the fetch group

PersistenceManagerFactory.setTransactionType(name) - JDO Method

  name ) Sets the TransactionType for this PersistenceManagerFactory. Permitted values are "JTA" and "RESOURCE_LOCAL". This has the same semantics as the same- named property in JSR-220 EntityManagerFactory. Parameters: name - the TransactionType Throws: JDOUserException - if the parameter is not

PersistenceManagerFactory.setPersistenceUnitName(name) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setPersistenceUnitName (   String  name ) Sets the PersistenceUnitName for this PersistenceManagerFactory. This has the same semantics as the same- named property in JSR-220 PersistenceUnitInfo. Parameters: name

javax.jdo.annotations.Persistent.name

JDO Annotation Attribute in javax.jdo.annotations.Persistent String name default "" Name of the member when this is embedded in another object. The fully-qualified member name is used. For example, "line.point1.x" refers to the member x in class Point that is embedded as member point1 in class

javax.jdo.annotations.Query.name

JDO Annotation Attribute in javax.jdo.annotations.Query String name default null Name of the query (mandatory) Since: JDO 2.1

javax.jdo.annotations.Unique.name

JDO Annotation Attribute in javax.jdo.annotations.Unique String name default "" Name of the unique constraint. Since: JDO 2.1

javax.jdo.annotations.PrimaryKey.name

JDO Annotation Attribute in javax.jdo.annotations.PrimaryKey String name default "" Name of the primary key constraint Since: JDO 2.1