ObjectDB Database Search
101-150 of 200 resultsSELECT clause (JPQL / Criteria API). getResultList (); Because the results are managed entities they have all the support that JPA provides ... ]); } As an alternative to representing compound results with Object arrays, JPA supports using custom result classes and result constructor expressions. Result classes (constructor expressions) JPA | |
jakarta.persistence.criteria.MapJoin Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.MapJoin Type Parameters ... collection that has been specified as a Map . Since: Jakarta Persistence ( JPA ) 2.0 Public Instance ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression as | |
jakarta.persistence.EntityManager Jakarta Persistence ( JPA ) Interface jakarta.persistence.EntityManager Super Interfaces ... StoredProcedureQuery EntityManagerFactory Since: Jakarta Persistence ( JPA ) 1.0 The Database Connection using JPA ... Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence ( JPA ) 3.2 void clear | |
jakarta.persistence.criteria.ListJoin Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.ListJoin Type Parameters ... that has been specified as a List . Since: Jakarta Persistence ( JPA ) 2.0 Public Instance Methods Selection alias ... : selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class type ) Perform | |
jakarta.persistence.criteria.PluralJoin Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.PluralJoin Type Parameters ... query construction. Since: Jakarta Persistence ( JPA ) 2.0 Public Instance Methods Selection alias ... Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class type ) Perform | |
jakarta.persistence.criteria.SetJoin Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.SetJoin Type Parameters ... that has been specified as a Set . Since: Jakarta Persistence ( JPA ) 2.0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class type ) Perform a typecast | |
jakarta.persistence.criteria.CollectionJoin Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.CollectionJoin Type Parameters ... that has been specified as a Collection . Since: Jakarta Persistence ( JPA ) 2.0 Public Instance ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class | |
jakarta.persistence.criteria.Join Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.Join Type Parameters ... Persistence ( JPA ) 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Join . Public ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression | |
jakarta.persistence.criteria.Root Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.Root Type Parameters ... Persistence ( JPA ) 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Root ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 | |
jakarta.persistence.criteria.From Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.From Type Parameters ... to the type. Since: Jakarta Persistence ( JPA ) 2.0 Public Instance Methods Selection alias ( String name ... . Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class type ) Perform a typecast | |
jakarta.persistence.criteria.Subquery Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.Subquery Type Parameters ... . A subquery has an expression as its selection item. Since: Jakarta Persistence ( JPA ) 2.0 Public ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression | |
jakarta.persistence.StoredProcedureQuery Jakarta Persistence ( JPA ) Interface jakarta.persistence.StoredProcedureQuery Super Interfaces ... Since: Jakarta Persistence ( JPA ) 2.1 Public Instance Methods boolean execute () Return true if the first ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence ( JPA ) 1.0 int | |
Literals in JPQL and Criteria Queries ) numeric literals. This feature is not supported by all JPA implementations. String literals JPQL ... all JPA implementations. Unlike most other JPQL components, string literals (which represent data ... ); // String literals: Expression empty = cb. literal (""); Expression jpa = cb. literal (" JPA "); // Date | |
jakarta.persistence.metamodel.EntityType Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.EntityType Type Parameters ... An instance of EntityType represents an entity type. Since: Jakarta Persistence ( JPA ) 2.0 Public Instance ... of the given name is not present in the managed type. Since: Jakarta Persistence ( JPA ) 1.0 Set | |
jakarta.persistence.TypedQuery Jakarta Persistence ( JPA ) Interface jakarta.persistence.TypedQuery Type Parameters: - query result ... . See Also: Query Parameter Since: Jakarta Persistence ( JPA ) 2.0 Chapter 4 - JPA Queries (JPQL / Criteria ... Persistence ( JPA ) 1.0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode that will be in | |
jakarta.persistence.Query Jakarta Persistence ( JPA ) Interface jakarta.persistence.Query Interface used to control query execution. See Also: TypedQuery StoredProcedureQuery Parameter Since: Jakarta Persistence ( JPA ) 1.0 Chapter 4 - JPA Queries (JPQL / Criteria) explains how to use Query . Public Instance Methods int | |
jakarta.persistence.PersistenceConfiguration Jakarta Persistence ( JPA ) Class jakarta.persistence.PersistenceConfiguration java.lang.Object ... ) Since: Jakarta Persistence ( JPA ) 3.2 Public Static Fields CACHE_MODE String specifying a SharedCacheMode ... of this PersistenceConfiguration class should use sharedCacheMode . Since: Jakarta Persistence ( JPA ) 1.0 JDBC_DATASOURCE | |
jakarta.persistence.metamodel.IdentifiableType Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.IdentifiableType Type Parameters ... Persistence ( JPA ) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return the attribute ... Persistence ( JPA ) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited from | |
jakarta.persistence.metamodel.MappedSuperclassType Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.MappedSuperclassType Type ... Persistence ( JPA ) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return ... . Since: Jakarta Persistence ( JPA ) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited | |
Date and Time in JPQL and Criteria Queries JPA defines special JPQL expressions that return the date and time from the database server ... timestamp (date and time) as a java.sql.Timestamp instance. Extracting date parts JPA does not define standard methods for extracting date and time parts, but some JPA implementations, including ObjectDB | |
Numbers in JPQL and Criteria Queries simple numeric values into more complex expressions. Arithmetic operators JPA supports ... ( % ) and bitwise complement ( ~ ) operators, which are supported in Java and JDO. JPA follows Java ... and functions (which are described above) are available also as JPA criteria query expressions | |
What's next? This chapter introduced the basic principles of JPA with ObjectDB. For more details ... program. You can start your own ObjectDB/ JPA projects by modifying this example program. Next chapters The following three chapters provide more details about using JPA with ObjectDB: The final | |
BIRT/ODA ObjectDB Driver and JPA tutorial. Driver installation The driver is available as an Eclipse for Java EE Developers ... when using client-server mode. ObjectDB/ JPA data source To create an ObjectDB data source: Open the New ... ) and click Next . Enter a JPQL or a JDOQL query and click Finish . See the Report Generation with BIRT and JPA tutorial for more detailed instructions. | |
GROUP BY and HAVING clauses might not be supported by other JPA implementations. Currently, only identification variables and path expressions are guaranteed to be supported in the GROUP BY clause across all JPA implementations ... expression , it is a standard query that should be supported by all JPA implementations. GROUP BY | |
About Us persistence solution for Java, based on the Java Persistence API ( JPA ) and the Java Data Objects (JDO) standards, since ObjectDB is the first object oriented database with built in support of JPA and JDO and is much faster than any ORM-based JPA implementation. ObjectDB Software's customers include | |
jakarta.persistence.EntityGraph Jakarta Persistence ( JPA ) Interface jakarta.persistence.EntityGraph Type Parameters: - The type ... Persistence ( JPA ) 2.1 Public Instance Methods AttributeNode addAttributeNode ( String attributeName ... .. Since: Jakarta Persistence ( JPA ) 3.2 AttributeNode addAttributeNode ( Attribute attribute ) Get an existing | |
jakarta.persistence.metamodel.ManagedType Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.ManagedType Type Parameters ... , mapped superclass, and embeddable types. Since: Jakarta Persistence ( JPA ) 2.0 Public Instance Methods ... the managed type. Since: Jakarta Persistence ( JPA ) 1.0 Set getAttributes () Return the attributes | |
jakarta.persistence.metamodel.EmbeddableType Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.EmbeddableType Type Parameters ... of EmbeddableType represents an embeddable type. Since: Jakarta Persistence ( JPA ) 2.0 Public Instance Methods ... is not present in the managed type. Since: Jakarta Persistence ( JPA ) 1.0 Set getAttributes () Return | |
jakarta.persistence.criteria.CriteriaQuery Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.CriteriaQuery Type Parameters ... . Since: Jakarta Persistence ( JPA ) 2.0 The JPA Criteria API Queries article explains how to use ... .. Since: Jakarta Persistence ( JPA ) 1.0 Root from ( Class entityClass ) Create and add a query root | |
jakarta.persistence.Subgraph Jakarta Persistence ( JPA ) Interface jakarta.persistence.Subgraph Type Parameters: - The type ... within an EntityGraph . See Also: EntityGraph AttributeNode NamedSubgraph Since: Jakarta Persistence ( JPA ) 2.1 Public ... . IllegalArgumentException - if the attribute is not an attribute of this entity.. Since: Jakarta Persistence ( JPA ) 3.2 | |
jakarta.persistence.Graph Jakarta Persistence ( JPA ) Interface jakarta.persistence.Graph Declares operations common to EntityGraph and Subgraph . See Also: EntityGraph Subgraph Since: Jakarta Persistence ( JPA ) 3.2 Public ... is not an attribute of this entity.. Since: Jakarta Persistence ( JPA ) 3.2 AttributeNode | |
jakarta.persistence.criteria.Path Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.Path Type Parameters: - the type ... . Since: Jakarta Persistence ( JPA ) 2.0 The Paths and Types in JPQL and Criteria API article explains ... ( JPA ) 1.0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new | |
jakarta.persistence.criteria.CriteriaBuilder.In Jakarta Persistence ( JPA ) Interface in jakarta.persistence.criteria.CriteriaBuilder jakarta ... , TupleElement Interface used to build in predicates. Since: Jakarta Persistence ( JPA ) 1.0 Public Instance ... : name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase Jakarta Persistence ( JPA ) Interface in jakarta.persistence.criteria.CriteriaBuilder jakarta ... which they are specified. Since: Jakarta Persistence ( JPA ) 1.0 Public Instance Methods Selection alias ... : selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class type ) Perform | |
jakarta.persistence.EntityManagerFactory Jakarta Persistence ( JPA ) Interface jakarta.persistence.EntityManagerFactory Super Interfaces ... Persistence ( JPA ) 1.0 The Database Connection using JPA article explains how to use EntityManagerFactory ... entityGraph - entity graph Since: Jakarta Persistence ( JPA ) 2.1 void addNamedQuery ( String name , Query query | |
Collections in JPQL and Criteria Queries provides an additional method for checking if a specified element is contained in a collection. JPA ... are also available as JPA criteria query expressions. The CriteriaBuilder interface provides factory | |
Is ObjectDB better than Object Relational Mapping (ORM)? is developed for an existing old relational database). By using the Java Persistence API ( JPA ... performance and use a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational | |
Step 2: Entity Class and Persistence Unit To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... + ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA by setting ... to the persistence.xml file: com.objectdb. jpa .Provider Now ObjectDB should be used as a JPA provider | |
Step 2: Entity Class and Persistence Unit To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added ... with the following new content: com.objectdb. jpa .Provider Now ObjectDB should be used as a JPA provider | |
Step 2: Entity Class and Persistence Unit To store objects in an ObjectDB database using JPA we need to define an entity class: Right click ... + ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA ... and paste to copy the following content to the persistence.xml file: com.objectdb. jpa .Provider | |
Step 2: Entity Class and Persistence Unit To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added ... file with the following new content: com.objectdb. jpa .Provider guest.Guest Now ObjectDB should be used | |
Step 1: Create a Java Project for Java EE Developers, you can see in the [New] menu a command for creating a [ JPA Project ... with ObjectDB/ JPA support. ObjectDB/ JPA can also be added to existing projects, by adding ... JARs... The next step is creating a JPA Entity class . | |
Step 1: Create a Java Project the project. To add ObjectDB/ JPA support for the project: Right click the Libraries folder in the [Projects ... with ObjectDB/ JPA support. The next step is creating a JPA Entity class . | |
Step 1: Create a Java EE 6 Web Project dynamic web project. To add ObjectDB/ JPA support to the project, drag the objectdb.jar file from ... : You should now have an Eclipse Java EE 6 project with ObjectDB/ JPA support. The next step is creating a JPA Entity class . | |
Java EE Web Tutorial application using GlassFish, ObjectDB and JPA . Since this web application uses Java EE 6 EJB ... ) see the JPA Web App Tutorial . The demo web application manages a basic guestbook page. Every visitor ... below the form: Persistence is managed by JPA . Every visitor that has signed the guestbook | |
Step 1: Create a Java EE Web Project required). To add ObjectDB/ JPA support for the project: Right click the Libraries folder in the [Projects ... Application project with ObjectDB/ JPA support. The next step is creating a JPA Entity class . | |
Step 1: Create a Web Project ObjectDB/ JPA support for the project: Right click the Libraries folder in the [Projects] window ... with ObjectDB/ JPA support. The next step is creating a JPA Entity class . | |
Step 1: Create a Maven Web Project Framework and ObjectDB/ JPA support. The next step is creating a JPA Entity class . | |
Step 1: Create a Maven Web Project MVC Framework and ObjectDB/ JPA support. The next step is creating a JPA Entity class . | |
Step 4: Run the Application by opening it in the ObjectDB Explorer : This is the end of the Eclipse JPA tutorial. Learn more about ObjectDB and JPA by reading the Manual . |