ObjectDB Database Search
51-100 of 200 resultsTypedQuery.setParameter(name,value,temporalType) - JPA Method - 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 ... ; name , Date value, TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter | |
TypedQuery.setParameter(name,value,temporalType) - JPA Method: 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 ... ; name , Calendar value, TemporalType temporalType ) Bind an instance of java.util.Calendar to a named parameter. Parameters: name - parameter name value | |
AnnotationAttrRef jakarta.persistence.Entity.name JPA Annotation Attribute in jakarta.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 Jakarta Persistence query language. Since: JPA 1.0 | |
Posting Sample Code.getTransaction().commit(); Query query = em.createQuery("SELECT e FROM MyEntity e"); List resultList = query ... { private String name ;   | |
AnnotationAttrRef jakarta.persistence.NamedStoredProcedureQuery.name JPA Annotation Attribute in jakarta.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 | |
AnnotationAttrRef jakarta.persistence.NamedQuery.name JPA Annotation Attribute in jakarta.persistence.NamedQuery String name default null (Required) The name used to identify the query in calls to EntityManager.createNamedQuery . Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.name JPA Annotation Attribute in jakarta.persistence.NamedNativeQuery String name default null The name used to identify the query in calls to EntityManager.createNamedQuery . Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.ColumnResult.name JPA Annotation Attribute in jakarta.persistence.ColumnResult String name default null (Required) The name of a column in the SELECT clause of a SQL query Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.SqlResultSetMapping.name JPA Annotation Attribute in jakarta.persistence.SqlResultSetMapping String name default null The name given to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs. Since: JPA 1.0 | |
InterfaceRef jakarta.persistence.Query parameter of the given name . This method is not required to be supported for native queries ... - if the parameter of the specified name does not exist IllegalStateException - if invoked on a native query ... of the given name and type. This method is required to be supported for criteria queries only. Parameters: name | |
JPA Persistence Unit classes. However, it might be useful to register classes that define generators and named queries (by annotations). Otherwise, the generators and named queries are available only when the containing ... A persistence unit is defined by a persistence-unit XML element. The required name attribute ( “my-pu | |
Retrieving JPA Entity Objects = manager.getName(); Accessing a persistent field in a hollow object (e.g. the name of the manager in ... and the other for checking a persistent field of an entity object. Retrieval by Query The most flexible method for retrieving objects from the database is to use queries . The official query language | |
BIRT/ODA ObjectDB Driver and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query ... data source types. Enter data source name (e.g. ObjectDB Points ) and click Next . Specify an ObjectDB ... . Select an ObjectDB data source (e.g. ObjectDB Points ). Enter a data set name (e.g. Points by X | |
General Settings and Logging, such as query results that contain millions of objects. The element specifies temporary file settings ... specifying 0 as the maximum list size . The user attribute specifies if user names should be saved ... ( "" ) logging to file is disabled. Every day a new log file is generated with the name odb .log | |
Schema Update ... ... A element has two roles: If the optional new- name attribute is specified, the package name is changed from the original name , which is specified by the required name attribute, to the new name . All the classes in that package are moved to the new package name . In addition, whether or not a new | |
Query.setHint(hintName,value) - JPA Method - name of the property or hint value - value for the property or hint Return: the same query ... JPA Method in jakarta.persistence. Query Query setHint ( String hintName, Object value ) Set a query property or hint. The hints elements may be used | |
JPA Lifecycle Events should always return void and take no arguments. They can have any name and any access level ( public , protected ... lifecycle event (which is still in progress) callback methods should not call EntityManager or Query | |
AnnotationAttrRef jakarta.persistence.JoinColumn.name JPA Annotation Attribute in jakarta.persistence.JoinColumn String name default "" (Optional) The name of the foreign key column. The table in which this column is found depends on the context ... is used): The concatenation of the following: the name of the referencing relationship property or field | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
AnnotationAttrRef jakarta.persistence.NamedEntityGraph.name JPA Annotation Attribute in jakarta.persistence.NamedEntityGraph String name default "" (Optional) The name used to identify the entity graph in calls to EntityManager.getEntityGraph . If no name is explicitly specified, the name defaults to the entity name of the annotated root entity. Entity | |
ManagedType | |
ManagedType | |
WHERE clause (JPQL / Criteria API) JPQL query that retrieves selective objects from the database. Out of the four optional clauses of JPQL queries , the WHERE clause is definitely the most frequently used. How a WHERE Clause Works The following query retrieves only countries with a population size above a population size p | |
AnnotationAttrRef jakarta.persistence.PrimaryKeyJoinColumn.name JPA Annotation Attribute in jakarta.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 | |
AnnotationAttrRef jakarta.persistence.CollectionTable.name JPA Annotation Attribute in jakarta.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 jakarta.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 | |
Step 3: Define an EJB Session Bean Bean and clicking Next . Enter GuestDao as the EJB class name - use exactly that case sensitive class name . The Java package name should be guest. Click Finish to create the new session bean (EJB ... getAllGuests() { TypedQuery query = em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest.class | |
Step 3: Define a Spring DAO Component . The package name should be guest . Enter GuestDao as the class name - use exactly that case sensitive class name . Click Finish to create the new DAO Spring component class. Now ... getAllGuests() { TypedQuery query = em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return | |
Step 3: Define an EJB Session Bean node (in the [Package Explorer] window) and selecting New Class . The package name should be guest . Enter GuestDao as the class name - use exactly that case sensitive class name . Click Finish ... ); } // Retrieves all the guests: public List getAllGuests() { TypedQuery query = em.createQuery( "SELECT g FROM | |
Step 4: Create an ObjectDB Data Set Queries against the database are represented in BIRT as data sets. To create the data set: Open ... Points ). Enter a data set name (e.g. Points by X ) and click Next . The database in this tutorial contains Point entity objects. We will use a simple JPQL query that retrieves points with x | |
Step 3: Define a Spring DAO Component Java Class... . Enter GuestDao as the class name - use exactly that case sensitive class name . The Package should be guest. Click Finish to create the new DAO Spring component class. Now ... () { TypedQuery query = em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return |