ObjectDB Database Search
101-150 of 200 resultsJPA 2.0 Criteria API: (When) Fully supported ? - older versions have a bug in the Criteria API implementation which prevents correct negation ... ; * DataNucleus 2.2.2 - FAIL. Was not able to create even a simple query with Criteria API . * ObjectDB 2.1.0 - FAIL. Does not support Criteria API : java.lang | |
Criteria Query results in a NoResultException instead of returning object.getCriteriaBuilder(); CriteriaQuery criteria = builder.createQuery(identityClass); Root root = criteria .from(identityClass); criteria .select(root); List predicates = new ArrayList (); predicates.add(builder ... .getName())); criteria .where(predicates.toArray(new Predicate[predicates.size | |
Threading Problem (maybe with Criteria),p.m_udb) FROM PersonTest p WHERE m_age=50", AdvoluxUID.class); instead of Criteria API ... . 100000) the test opens the Database, start some queries with criteria in several threads (maybe 10 ... (ManagedTypeImpl.java:199) at com.objectdb.jpa. criteria .PathImpl.get(PathImpl.java:114) at com | |
IN expression in a Criteria Query is with Criteria Language. This code: In inExpression = cb.in(root.get(Computer_.employeeEntity ... is one of them. Regarding the criteria query, it is unclear where exactly the exception is thrown ... . support Support Please try build 2.5.0_04, which seems to fix the criteria query issue. support | |
How to use regular expressions in Criteria Builder JPA criteria API (you can use LIKE, which is less powerful). ObjectDB supports regular ... the criteria builder. { CriteriaBuilder cb = emf.getCriteriaBuilder();   ... the criterial API is not extendible. support Support Bummer. Is this BIRT/ODA ObjectDB Driver   | |
Multi selection and distinct in a criteria query hi, How can I realize multi selection with the criteria api concerning distinct? I.e. doing something like SELECT DISTINCT $1, $2 wouldn't work because I do only have something like criteria .multiselect(...) and nothing like builder.distinct(selection) so that I could do something like criteria | |
Criteria query error: Unexpected query token may be valid in Hibernate HQL but not in JPQL and JPA Criteria API . support Support My apologies, in my eagerness to test I think I need to do an audit on all criteria queries. Works well. Fetched ... to see? Or is Criteria a W.I.P? Cheers Willks William It seems that the query is invalid | |
java.lang.NoClassDefFoundError: javax/persistence/criteria/AbstractQuery Updating from 2.7.1_02 to 2.7.2_02 I now get this error, did something change? java.lang.NoClassDefFoundError: javax/persistence/ criteria /AbstractQuery dmoshal David Moshal ... , without the separate jar, ie: without: javax.persistence:persistence- api :1.0.2 dmoshal David Moshal | |
Problem with Criteria Querys Hi, i am having problems running following code... import java.util.*; import javax.persistence.*; import javax.persistence. criteria .CriteriaBuilder; import javax.persistence. criteria .CriteriaQuery; import javax.persistence. criteria .ParameterExpression; import javax.persistence. criteria | |
Calendar in Criteria Querys Hi, i am having troubles creating criteria querys for Calendar objects. As far as I ... and may have some limitations. Anyway, the following example demonstrates criteria queries with Calendar ... . criteria .*; public final class T615 { public static void main(String[] args) {   | |
Help with JPA2 Criteria and conditional operator grouping)) From the JPA2 criteria : CriteriaBuilder builder = em.getCriteriaBuilder(); CriteriaQuery ... ) AND ($1.conditionTwo=false) OR ($1.conditionThree=false) Even though the the JPA2 criteria 'wraps | |
InterfaceRef jakarta.persistence.criteria.TemporalFieldInterfaceRef jakarta.persistence.criteria.TemporalField | |
InterfaceRef jakarta.persistence.criteria.CriteriaBuilder$CaseInterfaceRef jakarta.persistence.criteria.CriteriaBuilder$Case | |
InterfaceRef jakarta.persistence.criteria.CriteriaBuilder$CoalesceInterfaceRef jakarta.persistence.criteria.CriteriaBuilder$Coalesce | |
InterfaceRef jakarta.persistence.criteria.ListJoinInterfaceRef jakarta.persistence.criteria.ListJoin | |
InterfaceRef jakarta.persistence.criteria.MapJoinInterfaceRef jakarta.persistence.criteria.MapJoin | |
InterfaceRef jakarta.persistence.criteria.SubqueryInterfaceRef jakarta.persistence.criteria.Subquery | |
InterfaceRef jakarta.persistence.criteria.CriteriaSelectInterfaceRef jakarta.persistence.criteria.CriteriaSelect | |
Retrieving JPA Entity Objects The Java Persistence API (JPA) provides various ways to retrieve objects from the database. The retrieval of objects does not require an active transaction because it does not change the content of the database. The persistence context serves as a cache of retrieved entity objects. If a requested | |
Is ObjectDB better than Object Relational Mapping (ORM)? is developed for an existing old relational database). By using the Java Persistence API (JPA | |
SpringBoot-Point The SprintBoot-Point example demonstrates a simple Spring Boot RESTful API web application that manage a collection of geometric points using Spring Boot and Jakarta Persistence (JPA) . Web Application Functionality The application provides a single page web interface | |
Chapter 3 - Using JPA This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD operations: More advanced topics (e.g. locking and events) are discussed in the last section: | |
ObjectDB 2.9 Developer's Guide Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API ). The main purpose of this guide is to make you productive with ObjectDB and JPA in a short time. Guide Structure Demonstrates basic database | |
Database Connection using JPA Working with the Java Persistence API (JPA) consists of using the following interfaces: Overview A connection to a database is represented by an EntityManager instance, which also provides functionality for performing operations on a database. Many applications require multiple database | |
About Us ObjectDB Software develops, markets and supports the ObjectDB Object-Oriented Database Management System (ODBMS). ObjectDB Software is the market leader in providing a very high performance persistence solution for Java, based on the Java Persistence API (JPA) and the Java Data Objects (JDO | |
Enhancement API - NullPointerException Hi! I am trying to use the Enhancement API from within my application like this: com.objectdb.Enhancer.enhance("my.package.Foo"); However, I get the following NullPointerException: [ObjectDB 2.7.1 ... above). I'm not sure what is happening, the class exists and trying the API with a non-existent class | |
JPA Query Criteria API (JPA 2.0) The JPA Criteria API supports dynamic definition of JPQL queries using CriteriaBuilder as ... Criteria API in expected in future versions. support Support Implementation of the JPA Criteria ... ObjectDB version 2.2.0 was just released with full support of the JPA Criteria Query API , including | |
Strange Error with Criteria API and Sorting the sorted results. However, running this with the criteria API produces this error: Caused by: com ... criteria in debugger we get the correct expression: SELECT DISTINCT $1 FROM MyEntity $1 WHERE ((TYPE ... .persistence.Persistence; import javax.persistence. criteria .CriteriaBuilder; import javax.persistence | |
Java 8 time API Hi. Is Java 8 new DateTime API supported natively or through Converters in the newest versions of objectdb? If not, can we expect this feature in the next releases? Best regards and congratulations on this awesome database. Amsterdam Amsterdam Luís de Lima Filho It is not | |
Softdelete api like hibernate maybe recover back with api ? It wont be hard to implement these to objectdb core! best regards kadirbasol Kadir BASOL | |
Separate ODB files API Customer asked during opened ObjectDb connection (ODB location A) to stop writing and continue to another ODB file (Location B). Does exist some API to achieve that? What is a possible solution? Harman Alexander Golyshkin You have to close the database in location A, copy it from location | |
Is there an API to get the current version of ObjectDB that's being used? Is there an API to get the current version of ObjectDB that's being used? This would be very handy to have, because it is somewhat difficult to know what version of the ObjectDB you are currently using since the objectdb.jar filename remains the same for all versions (which is not a bad thing by | |
Issue with TYPE expression in Criteria API.persistence. criteria .CriteriaBuilder; import javax.persistence. criteria .CriteriaQuery; import javax.persistence. criteria .Root; public class T605 { public static void main(String[] args | |
criteria api / embedded objects / where ordercriteria api / embedded objects / where order | |
InterfaceRef jakarta.persistence.EntityManager. The EntityManager API is used to perform operations that affect the state of the persistence context, or ... for executing a native SQL query. In the next release of this API , the return type of this method will change ... ) Create an instance of Query for executing a criteria delete query. Parameters: deleteQuery | |
Internal exception: NPE on criteria query with IN clause and empty collection use JPA criteria query API , and I pass an empty collection to IN expression: CriteriaBuilder cb ... would really love to see support for static metamodel in ObjectDB implementation of both JPA criteria API | |
InterfaceRef jakarta.persistence.EntityManagerFactory, or it may be defined at runtime via the PersistenceConfiguration API . Every persistence unit ... with the EntityManagerFactory directly. The EntityManagerFactory provides access to certain other useful APIs : an instance ... to define criteria queries, may be obtained by calling () , and the PersistenceUnitUtil | |
InterfaceRef jakarta.persistence.Query StoredProcedureQuery Parameter Since: JPA 1.0 Chapter 4 - JPA Queries (JPQL / Criteria ) explains how to use Query ... language SELECT statement or for a criteria query TransactionRequiredException ... language SELECT query or a {@link jakarta.persistence. criteria .CriteriaQuery} query Since: JPA 2.0 int | |
InterfaceRef jakarta.persistence.TypedQuery - JPA Queries (JPQL / Criteria ) explains how to use TypedQuery . Public Methods int executeUpdate ... for a criteria query TransactionRequiredException - if there is no transaction or the persistence context ... SELECT query or a {@link jakarta.persistence. criteria .CriteriaQuery} query Inherited from: Query | |
ArrayIndexOutOfBounds with Critera API and function call to our customer and went against a show-stopper again. We're building a simple query with the criteria api ... ; } }; Create Selection Query (Critera- API ) from * TestEntity and add WHERE class ... : Doing "$1.getAge()" does produce the same error When trying to create a query from the criteria | |
InterfaceRef jakarta.persistence.StoredProcedureQuery.persistence. criteria .CriteriaQuery} query Inherited from: Query Since: JPA 2.0 int getMaxResults ... parameter of the given name and type. This method is required to be supported for criteria queries ... to be a Jakarta Persistence query language SELECT query or a {@link jakarta.persistence. criteria .CriteriaQuery | |
Path | |
CriteriaQuery.select(selection) - JPA Method JPA Method in jakarta.persistence. criteria .CriteriaQuery CriteriaQuery select ( Selection selection ) Specify the item that is to be returned in the query result. Replaces the previously specified selection(s), if any. Note: Applications using the string-based API may need | |
type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether type in http://www.objectdb.com/java/jpa/query/ criteria serParameter - setParamether ravshansbox Ravshan Thanks. It was fixed now to setParameter . support Support | |
Why does ObjectDB duplicate classes from javax.jdo:jdo-api? Hello, I'm using the Java Persistence API (JPA) in a library to not lock myself in to using ... . To use the @Index annotation, I had to add a dependency to the JDO API version 3.1 (old link: https://mvnrepository.com/artifact/javax.jdo/jdo- api /3.1). The code works just fine, but when I use | |
CriteriaQuery.multiselect(selectionList) - JPA Method JPA Method in jakarta.persistence. criteria .CriteriaQuery CriteriaQuery multiselect (   ... depends on the specification of the type of the criteria query object created as well as ... : If the type of the criteria query is CriteriaQuery (i.e., a criteria query object created by | |
CriteriaQuery.multiselect(selections) - JPA Method JPA Method in jakarta.persistence. criteria .CriteriaQuery CriteriaQuery multiselect (   ... execution depends on the specification of the type of the criteria query object created as well as ... of the criteria query is CriteriaQuery (i.e., a criteria query object created by | |
No Entity Class API and should not be bound to specific entity classes and persistent fields. Therefore, an API for accessing ... database with no original classes: Use the Metamodel API to find details on the entity classes in ... exists in the database and missing from the classpath. Use Java reflection API with information | |
Enhancer API (JDO 3.0) One of the new features of JDO 3 is a standard API for enhancement. Currently ObjectDB implements its own enhancement API . support Support | |
JDO Reference (JavaDoc) This reference contains the API documentation (similar to JavaDoc) of JDO 2.2. The content is derived from the original JDO documentation with some additions and notes. The most basic JDO types are: All the other JDO types are organized into the following sections: |