ObjectDB Database Search

1-50 of 200 results

Empty query results after JAR creation

-Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears ... Hansen Empty results or  NoResultException may be caused by accessing an empty database. In ... you are trying to access the database in a wrong location? In that case, a new empty database

LEFT JOIN FETCH over empty embedded collection returns no results

to my inquiry a few months ago. However, I have run into one problem: if an embedded collection is empty ... of the first collection, the result of the overall query is an empty set. To use the example from ... class C { @Id long id; List bList; }; If I have an instance of C where bList is empty , the following

Possible issue for JPQL IS EMPTY expression

Possible issue for JPQL IS EMPTY comparison expression: SELECT e FROM MyEntity e WHERE e.collection-valued IS EMPTY throws javax.persistence.PersistenceException: Invalid operand type  for operator IS EMPTY (error 756) Thanks. Note: It doesn' t work with SIZE(): SELECT e FROM MyEntity e

Memory consumption of empty Strings

are empty (""). To avoid unnecessary memory consumption, the String within the entities are initialized like: String firstName = ""; In this case every " empty " attribute shares the same String. But after reloading the entities from objectdb, every empty String has become a new (unique) String

@ElementCollection Set is emptied sometimes

is emptied , but not null. So, my @ElementCollection Set fields become empty sometimes during development ... , until 1 day ago, when some fields got empty again (but not null). (basically...an empty HashSet

InternalError on query of empty database

. Please try it. support Support I'm now getting an empty set returned on empty database. Thanks!!!! pedwards Paul Edwards

Empty temporary dat files in the temp folder

of the first one) empty . Or rather pre filled with null. We observed that the directory is cleaned

Handling a case of searching an empty database

Handling a case of searching an empty database

Log is almost empty (log level 'trace')

Log is almost empty (log level 'trace')

Collections in JPQL and Criteria Queries

. as  path expressions - in navigation to persistent collection fields. IS [NOT] EMPTY The IS [NOT] EMPTY operator checks whether a specified collection is empty or not. For example: c.languages IS EMPTY is TRUE if the collection is empty and FALSE otherwise. c.languages IS NOT EMPTY is FALSE

Schema Update

configuration file contains an empty element. If the element is not empty ObjectDB tries to apply

Database Connection using JPA

above). To obtain a connection to an empty database (discarding existing content if any) the drop parameter ... ("objectdb:myDbFile.tmp;drop"); Getting an empty clean database easily is very useful in tests. However, to avoid

Database Explorer

all the persistent fields, but the [Summary] view is initialized as an empty view. Therefore, unless set, persistent objects are presented in the Tree viewer as an empty set of fields (using

JPA Lifecycle Events

defines all the supported callback methods with empty implementations: @Entity public static class

FROM clause (JPQL / Criteria API)

_TIMESTAMP,DELETE, DESC, DISTINCT, ELSE, EMPTY , END, ENTRY, ESCAPE, EXISTS, FALSE, FETCH,FROM, GROUP

JPA Query Expressions (JPQL / Criteria)

: =, , =, IS [NOT] NULL, [NOT] BETWEEN, including  Collection operators: [NOT] IN, IS [NOT] EMPTY

Literals in JPQL and Criteria Queries

. literal (Integer.ValueOf(2)); Expression d = cb. literal (3.4); // String literals: Expression empty

General Settings and Logging

can be used to represent the ObjectDB installation directory, as demonstrated above. If the path is empty

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 ... )); //templateKeys is empty by mistake List services = em.createQuery(cq).getResultList(); As exception itself is nothing wrong here I guess (at least other JPA providers also throw on empty IN parameter

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder

of expressions is empty , returns an expression equivalent to literal("") . Parameters ... a predicate that tests whether a collection is empty . Parameters: collection - expression Return: is- empty ... is a member of a collection. If the collection is empty , the predicate will be false. Parameters

InterfaceRef jakarta.persistence.metamodel.EmbeddableType

type. Returns empty set if the managed type has no declared attributes. Return: declared attributes ... (Collection-, Set-, List-, and Map-valued attributes) declared by the managed type. Returns empty set ... () Return the single-valued attributes declared by the managed type. Returns empty set if the managed type

InterfaceRef jakarta.persistence.metamodel.ManagedType

getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set ... -valued attributes) declared by the managed type. Returns empty set if the managed type has no declared ... . Returns empty set if the managed type has no declared single-valued attributes. Return: declared single

InterfaceRef jakarta.persistence.metamodel.IdentifiableType

() Return the attributes declared by the managed type. Returns empty set if the managed type ... -valued attributes) declared by the managed type. Returns empty set if the managed type ... attributes declared by the managed type. Returns empty set if the managed type has no declared single

InterfaceRef jakarta.persistence.Query

. Returns empty set if the query has no parameters. This method is not required to be supported for native ... an empty list if there are no results Throws: IllegalStateException - if called for a Jakarta ... this method to provide additional capabilities. Return: a stream of the results, or an empty stream

InterfaceRef jakarta.persistence.TypedQuery

() Get the parameter objects corresponding to the declared parameters of the query. Returns empty ... of the results, each of type {@link X} , or an empty list if there are no results Throws ... an empty stream if there are no results Throws: IllegalStateException - if called for a Jakarta

InterfaceRef jakarta.persistence.criteria.AbstractQuery

a list of the grouping expressions. Returns empty list if no grouping expressions have been specified ... predicate Since: JPA 2.0 Set getParameters () Return the parameters of the query. Returns empty set ... of correlation. Returns an empty set if no roots have been defined. Modifications to the set do not

InterfaceRef jakarta.persistence.criteria.Subquery

Since: JPA 2.1 Set getCorrelatedJoins () Return the correlated joins of the subquery. Returns empty ... of the grouping expressions. Returns empty list if no grouping expressions have been specified. Modifications ... an empty set if no roots have been defined. Modifications to the set do not affect the query. Return

InterfaceRef jakarta.persistence.criteria.CriteriaQuery

: AbstractQuery Since: JPA 2.0 List getGroupList () Return a list of the grouping expressions. Returns empty ... of precedence. Returns empty list if no ordering expressions have been specified. Modifications to the list ... defined as a result of correlation. Returns an empty set if no roots have been defined

InterfaceRef jakarta.persistence.AttributeNode

with this attribute node's map key or an empty {@code Map} if none have been defined Since: JPA 2.1 Map ... } of subgraphs associated with this attribute node or an empty {@code Map} if none have been defined Since: JPA 2.1

ClassRef jakarta.persistence.PersistenceConfiguration

Constructors PersistenceConfiguration (String name) Create a new empty configuration. An empty

PersistenceConfiguration.PersistenceConfiguration(name) - JPA Constructor

JPA Constructor in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration (   String name ) Create a new empty configuration. An empty configuration does not typically hold enough information for successful invocation of () . Parameters: name - the name

InterfaceRef jakarta.persistence.criteria.From

this type. Returns empty set if no fetch joins have been made from this type. Modifications ... Since: JPA 2.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty

CriteriaBuilder.isEmpty(collection) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isEmpty (    Expression  collection ) Create a predicate that tests whether a collection is empty . Parameters: collection - expression Return: is- empty predicate Since: JPA 2.0

CriteriaBuilder.isNotEmpty(collection) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isNotEmpty (    Expression  collection ) Create a predicate that tests whether a collection is not empty . Parameters: collection - expression Return: is-not- empty predicate Since: JPA 2.0

InterfaceRef jakarta.persistence.StoredProcedureQuery

corresponding to the declared parameters of the query. Returns empty set if the query has no parameters ... capabilities. Return: a stream of the results, or an empty stream if there are no results Throws

CriteriaBuilder.concat(expressions) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression concat (   List  expressions ) Create an expression for string concatenation. If the given list of expressions is empty , returns an expression equivalent to literal("") . Parameters: expressions - string

Predicate.getExpressions() - JPA Method

JPA Method in jakarta.persistence.criteria.Predicate List getExpressions () Return the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level conjuncts or disjuncts of the predicate. Modifications to the list do not affect the query. Return: list of boolean expressions forming the predicate Since: JPA 2.0

InterfaceRef jakarta.persistence.criteria.CriteriaDelete

of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query

InterfaceRef jakarta.persistence.metamodel.Metamodel

getEmbeddables () Return the metamodel embeddable types. Returns am empty set if there are no embeddable types

Metamodel.getEmbeddables() - JPA Method

JPA Method in jakarta.persistence.metamodel.Metamodel Set getEmbeddables () Return the metamodel embeddable types. Returns am empty set if there are no embeddable types. Return: the metamodel embeddable types Since: JPA 2.0

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder$In

() Return the top-level conjuncts or disjuncts of the predicate. Returns empty list

InterfaceRef jakarta.persistence.criteria.Predicate

the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level

Subgraph.getAttributeNodes() - JPA Method

JPA Method in javax.persistence.Subgraph List getAttributeNodes () Return the attribute nodes corresponding to the attributes of this managed type that are included in the subgraph. Return: list of attribute nodes included in the subgraph or empty List if none have been defined Since: JPA 2.1

Subquery.getCorrelatedJoins() - JPA Method

JPA Method in jakarta.persistence.criteria.Subquery Set getCorrelatedJoins () Return the correlated joins of the subquery. Returns empty set if the subquery has no correlated joins. Modifications to the set do not affect the query. Return: the correlated joins of the subquery Since: JPA 2.0

Query.getParameters() - JPA Method

JPA Method in jakarta.persistence.Query Set getParameters () Get the parameter objects corresponding to the declared parameters of the query. Returns empty set if the query has no parameters. This method is not required to be supported for native queries. Return: set of the parameter objects

AttributeNode.getSubgraphs() - JPA Method

JPA Method in jakarta.persistence.AttributeNode Map getSubgraphs () Return a map of subgraphs associated with this attribute node. Return: a {@link Map} of subgraphs associated with this attribute node or an empty {@code Map} if none have been defined Since: JPA 2.1

AttributeNode.getKeySubgraphs() - JPA Method

JPA Method in jakarta.persistence.AttributeNode Map getKeySubgraphs () Return a map of subgraphs associated with this attribute node's map key. Return: a {@link Map} of subgraphs associated with this attribute node's map key or an empty {@code Map} if none have been defined Since: JPA 2.1

Graph.getAttributeNodes() - JPA Method

JPA Method in jakarta.persistence.Graph List getAttributeNodes () Return the attribute nodes corresponding to the attributes of this managed type that are included in the graph. Return: list of attribute nodes included in the graph or an empty list if none have been defined Since: JPA 3.2

InterfaceRef jakarta.persistence.Subgraph

: list of attribute nodes included in the graph or an empty list if none have been defined Inherited

CommonAbstractCriteria.getParameters() - JPA Method

JPA Method in jakarta.persistence.criteria.CommonAbstractCriteria Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Return: the query parameters Since: JPA 2.1