Fast Object Database for Java - with JPA/JDO support

Internal Website Search

61-70 of 200 resultsRefresh


javax.persistence.criteria Interface CriteriaBuilder.In Superinterfaces: Expression, Predicate, Selection, TupleElement Interface used to build in predicates. Since: JPA 2.0 Selection alias(String name) Assigns an alias to the selection item. Assigns an alias


javax.persistence.criteria Interface Fetch Superinterfaces: FetchParent Represents a join-fetched association or attribute. Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified


javax.persistence.criteria Interface FetchParent Subinterfaces: CollectionJoin, Fetch, From, Join, ListJoin, MapJoin, PluralJoin, Root, SetJoin Represents an element of the from clause which may function as the parent of Fetches. Since: JPA 2.0 Fetch fetch(String attributeName) Create

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 ... () { return 100; } }; Create Selection Query (Critera-API) from * TestEntity and add WHERE class ... the criteria we get this: 11:20:06,538 ERROR .. Servlet.service() for servlet .. threw exception

IN expression in a Criteria Query

is with Criteria Language. This code: In inExpression = ... system, and unfortunately subqueries is one of them. Regarding the criteria query, it is unclear where exactly ... Fabian Regarding the criteria query issue, please provide the complete query string

Criteria Query results in a NoResultException instead of returning object

(); CriteriaQuery criteria = builder.createQuery(identityClass); Root root = criteria.from(identityClass);; List predicates = new ArrayListcriteria.where(predicates.toArray(new Predicate[predicates.size()])); return em.createQuery

Threading Problem (maybe with Criteria)

WHERE m_age=50", AdvoluxUID.class); instead of Criteria API CriteriaBuilder cbuilder = manager ... . 100000) the test opens the Database, start some queries with criteria in several threads (maybe 10 ... ( at com.objectdb.jpa.criteria.PathImpl.get( at com.objectdb

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

Internal exception: NPE on criteria query with IN clause and empty collection

already narrowed the cause to the fact that I use JPA criteria query API, and I pass an empty collection to IN ... to see support for static metamodel in ObjectDB implementation of both JPA criteria API and JDO typed queries

Criteria query error: Unexpected query token

however. Is there anything glaringly wrong with my code I'm failing to see? Or is Criteria a W.I.P? Cheers Willks William ... is expected) A query with no SELECT 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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support