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

jakarta.persistence.criteria.CriteriaBuilder

) Create an expression for string concatenation. If the given list of expressions is empty , returns ... that tests whether a collection is empty . Parameters: collection - expression Returns: is- empty ... that tests whether an element is a member of a collection. If the collection is empty

jakarta.persistence.metamodel.IdentifiableType

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

jakarta.persistence.metamodel.EntityType

() Return the 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 multivalued attributes. Inherited from ManagedType ... () Return the single-valued attributes declared by the managed type. Returns empty set

jakarta.persistence.metamodel.ManagedType

getDeclaredAttributes () Return the 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 ... getDeclaredSingularAttributes () Return the single-valued attributes declared by the managed type. Returns empty set

jakarta.persistence.metamodel.EmbeddableType

empty set if the managed type has no declared attributes. Inherited from ManagedType Returns: declared ... -, and Map-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

jakarta.persistence.metamodel.MappedSuperclassType

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

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

jakarta.persistence.criteria.Subquery

(JPA) 2.1 Set getCorrelatedJoins () Return the correlated joins of the subquery. Returns empty set ... () Return a list of the grouping expressions. Returns empty list if no grouping expressions ... ) 1.0 Set getParameters () Return the parameters of the query. Returns empty set

jakarta.persistence.criteria.CriteriaQuery

getGroupList () Return a list of the grouping expressions. Returns empty list if no grouping ... expressions in order of precedence. Returns empty list if no ordering expressions have been specified ... . Since: Jakarta Persistence (JPA) 1.0 Set getParameters () Return the parameters of the query. Returns empty set

jakarta.persistence.TypedQuery

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

jakarta.persistence.criteria.AbstractQuery

(JPA) 1.0 List getGroupList () Return a list of the grouping expressions. Returns empty list ... (JPA) 1.0 Set getParameters () Return the parameters of the query. Returns empty set ... Subquery itself, including any subquery roots defined as a result of correlation. Returns an empty set

jakarta.persistence.Query

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

jakarta.persistence.criteria.PluralJoin

empty set if no fetch joins have been made from this type. Modifications to the set do not affect ... empty set if no joins have been made from this bound type. Modifications to the set do not affect

jakarta.persistence.criteria.MapJoin

) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set ... .0 Set getJoins () Return the joins that have been made from this bound type. Returns empty set

jakarta.persistence.criteria.Root

(JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty ... () Return the joins that have been made from this bound type. Returns empty set if no joins

jakarta.persistence.criteria.SetJoin

(JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty ... (JPA) 1.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty set

jakarta.persistence.criteria.CollectionJoin

that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications ... this bound type. Returns empty set if no joins have been made from this bound type. Modifications

jakarta.persistence.criteria.ListJoin

empty set if no fetch joins have been made from this type. Modifications to the set do not affect ... (JPA) 1.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty

jakarta.persistence.criteria.From

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

jakarta.persistence.criteria.Join

this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set ... ) 1.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty set

jakarta.persistence.AttributeNode

node's map key or an empty Map if none have been defined. Since: Jakarta Persistence (JPA) 1.0 Map ... of subgraphs associated with this attribute node or an empty Map if none have been defined. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery

to the declared parameters of the query. Returns empty set if the query has no parameters. This method is not ... of the results, or an empty stream if there are no results. Throws: IllegalStateException - if called

jakarta.persistence.PersistenceConfiguration

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

jakarta.persistence.PersistenceConfiguration.PersistenceConfiguration(String)

Jakarta Persistence (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 PersistenceConfiguration

jakarta.persistence.criteria.CriteriaBuilder.isEmpty(Expression)

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

jakarta.persistence.criteria.CriteriaBuilder.isNotEmpty(Expression)

Jakarta Persistence (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 Returns: is-not- empty predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Graph

in the graph or an empty list if none have been defined. Since: Jakarta Persistence (JPA) 1.0 boolean

jakarta.persistence.Convert

be specified. (In this case the path relative to the annotated element is simply the empty path.) Default

jakarta.persistence.EntityGraph

an empty list if none have been defined. Since: Jakarta Persistence (JPA) 1.0 String getName () Return

jakarta.persistence.criteria.Predicate

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

jakarta.persistence.metamodel.Metamodel

am empty set if there are no embeddable types. Returns: the metamodel embeddable types

jakarta.persistence.criteria.CriteriaBuilder.In

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