ObjectDB Database Search

51-100 of 200 results

Replication error on slave restart

embeddable classes and 108 entity objects. The master directory contains an empty database file (sm.odb ... and when and how it became empty ? Because in this situation, when the master database is empty , obviously ... , and than you will explain why it's empty ... Test Case #1: 1) I have 2 separate third-party servers 2) Deploy

Updating Entities

() { @Override protected void updateItem(String item, boolean empty ) { if(item != null) { setText(item ... void updateItem(String item, boolean empty ) { if(item != null) { setText(item); setAlignment(Pos ... item, boolean empty ) { if(item != null) { setText(item); setAlignment(Pos.CENTER); } } }); dept

mapping file is not being loaded

, the Metamodel is empty - none of the entities referenced in the mapping file are present in the Metamodel ... is alwasy empty with ObjectDB Set managedEntities = emf.getMetaModel().getEntities();   I ... -classes to false. The Metamodel API still returns the empty set when 'getEntities()' is invoked

Different behavior with persist() and queried instances?

is saved in db and the list of the object is marked as empty - Now close the entity manager ... - Commit the transaction   - FAIL, the list of the object is still set to empty in db ... is still empty in db after commit!! please help, I cannot even go further with this issue.. thanks! Alex quasado

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

argument. What happens if getObjectsById() is called with an empty collection? carr.onstott Carr Onstott There are no known issues with this method. If you pass an empty collection the method should return an empty collection. It should work with single or multiple IDs and with any collection

OptimisticLockException

it??   dmoshal David Moshal You can disable the L2 cache (or empty it with evict ) and empty ... to automatically refresh objects in the L2 cache? You can empty the L2 cache or remove a specific class / object from that cache. support Support

"where in" query

why this result returns an empty set?   List results; TypedQuery prezs = em.createQuery("SELECT p ... to build a test case and the result was an exception rather than an empty result set. Version 2.3.2 fixes the exception - please try it. If you still get an empty set with the new version - try

Possible issue with LAZY Loading

part of the test? Or should it be empty ? Pretty much I want a unit test that shows the locationlist coming back empty , and then someway of calling so that it comes back populated. I'm uncertain now ... ;     } This method is used by ObjectDB to initialize the field with an empty lazy

Pooling of EntityManagers

. If I call entityManager.clear() does the first level cache is empty then? If not does fetching ... then you empty the persistence context / first level cache. However, possibly the main gain from pooling ... a new entitymanager and reusing an empty one. However, i will test it. thanks again Arne Arne Arne Stocker

problem with lazy loading - unittest project attached

, one entity with 2 related entities. if i use EAGER the test pass, if not the related entity list is empty ... is lazy - it is unavailable in a detached Foo instance and the collection looks empty . support Support

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

relationships were null (not even just empty where appropriate), and on various pages I got NullPointerExceptions where non-null collection results (including non-null empty ) were expected. As explained to me by

AbstractQuery.getGroupList() - JPA Method

JPA Method in javax.persistence.criteria.AbstractQuery List getGroupList () Return a list of the grouping expressions. Returns empty list if no grouping expressions have been specified. Modifications to the list do not affect the query. Return: the list of grouping expressions Since: JPA 2.0

CriteriaBuilder.isMember(elem,collection) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate isMember (    Expression  elem,     Expression  collection ) Create a predicate that tests whether an element is a member of a collection. If the collection is empty , the predicate will be false

CriteriaBuilder.isMember(elem,collection) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate isMember (   E elem,     Expression  collection ) Create a predicate that tests whether an element is a member of a collection. If the collection is empty , the predicate will be false. Parameters

CriteriaBuilder.isNotMember(elem,collection) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate isNotMember (    Expression  elem,     Expression  collection ) Create a predicate that tests whether an element is not a member of a collection. If the collection is empty , the predicate

CriteriaBuilder.isNotMember(elem,collection) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate isNotMember (   E elem,     Expression  collection ) Create a predicate that tests whether an element is not a member of a collection. If the collection is empty , the predicate will be true

javax.persistence.criteria.CriteriaBuilder$In

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

CriteriaQuery.getOrderList() - JPA Method

JPA Method in javax.persistence.criteria.CriteriaQuery List getOrderList () Return the ordering expressions in order of precedence. Returns empty list if no ordering expressions have been specified. Modifications to the list do not affect the query. Return: the list of ordering expressions Since: JPA 2.0

CriteriaQuery.getParameters() - JPA Method

JPA Method in javax.persistence.criteria.CriteriaQuery 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.0

javax.persistence.criteria.Fetch

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

javax.persistence.criteria.FetchParent

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

FetchParent.getFetches() - JPA Method

JPA Method in javax.persistence.criteria.FetchParent Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Return: fetch joins made from this type Since: JPA 2.0

From.getJoins() - JPA Method

JPA Method in javax.persistence.criteria.From Set getJoins () Return the joins that have been made from this bound type. Returns empty set if no joins have been made from this bound type. Modifications to the set do not affect the query. Return: joins made from this type Since: JPA 2.0

javax.persistence.criteria.Join

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

javax.persistence.criteria.Predicate

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

Predicate.getExpressions() - JPA Method

JPA Method in javax.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

Subquery.getCorrelatedJoins() - JPA Method

JPA Method in javax.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

ManagedType.getDeclaredAttributes() - JPA Method

JPA Method in javax.persistence.metamodel.ManagedType Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes. Return: declared attributes of the managed type Since: JPA 2.0

ManagedType.getSingularAttributes() - JPA Method

JPA Method in javax.persistence.metamodel.ManagedType Set getSingularAttributes () Return the single-valued attributes of the managed type. Returns empty set if the managed type has no single-valued attributes. Return: single-valued attributes Since: JPA 2.0

ManagedType.getDeclaredSingularAttributes() - JPA Method

JPA Method in javax.persistence.metamodel.ManagedType Set getDeclaredSingularAttributes () Return the single-valued attributes declared by the managed type. Returns empty set if the managed type has no declared single-valued attributes. Return: declared single-valued attributes Since: JPA 2.0

ManagedType.getPluralAttributes() - JPA Method

JPA Method in javax.persistence.metamodel.ManagedType Set getPluralAttributes () Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) of the managed type. Returns empty set if the managed type has no multi-valued attributes. Return: Collection-, Set-, List-, and Map-valued attributes Since: JPA 2.0

ManagedType.getDeclaredPluralAttributes() - JPA Method

JPA Method in javax.persistence.metamodel.ManagedType Set getDeclaredPluralAttributes () Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) declared by the managed type. Returns empty set if the managed type has no declared multi-valued attributes. Return

javax.persistence.metamodel.Metamodel

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

Metamodel.getEmbeddables() - JPA Method

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

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

via a querying @EJB gives many fields null (and not even empty , I mean truly null). In ... all cases lists that are given in the explored database either empty or populated are served as null ... , either as empty or correctly populated). This seems to imply that ObjectDB operation

JPQL support for mapped by (inverse) collections

As discussed and demonstrated in this forum thread , collection operators and methods (IS EMPTY ... ; "SELECT a FROM A a WHERE a.list IS EMPTY ");         ... A a WHERE a.list IS NOT EMPTY         List list1 = em.createQuery

Can't open replicated database

to the initial empty state of the database. I inserted a few rows into the databases and still got the error ... classes that are unknown yet in the database (therefore, with an almost empty database ... the database is empty but this would be a bit messy as it is defined by UserException + message text

File lock exception on odb$

affected as the dbs were empty anyway but I'm a bit worried about data loss if & when this is not ... . can you get that exception every time you are trying to open that empty database with its associated odb$ file ... Apparently there was a problem when a recovery file exists but it is empty . Build 2.3.7_09 should fix

Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression,parameters) - JDO Method

is the empty String for either the parameter or the value of the String[], or for any map key or value

javax.jdo.annotations.DatastoreIdentity

to generate the value for the identity. If customStrategy is non- empty , then strategy

javax.jdo.annotations.DatastoreIdentity.customStrategy

JDO Annotation Attribute in javax.jdo.annotations.DatastoreIdentity String customStrategy default "" Custom strategy to use to generate the value for the identity. If customStrategy is non- empty , then strategy must be UNSPECIFIED. Since: JDO 2.1

javax.jdo.annotations.Discriminator

for the discriminator. If customStrategy is non- empty , then strategy must be UNSPECIFIED. Since: JDO 2.1 String

javax.jdo.annotations.Discriminator.customStrategy

JDO Annotation Attribute in javax.jdo.annotations.Discriminator String customStrategy default "" Custom strategy to use for the discriminator. If customStrategy is non- empty , then strategy must be UNSPECIFIED. Since: JDO 2.1

javax.jdo.annotations.Inheritance

"" Custom inheritance strategy. If customStrategy is non- empty , then strategy must be UNSPECIFIED

javax.jdo.annotations.Inheritance.customStrategy

JDO Annotation Attribute in javax.jdo.annotations.Inheritance String customStrategy default "" Custom inheritance strategy. If customStrategy is non- empty , then strategy must be UNSPECIFIED. Since: JDO 2.1

javax.jdo.annotations.Persistent

). If customValueStrategy is non- empty , then valueStrategy must be UNSPECIFIED. Since: JDO 2.1 String

javax.jdo.annotations.Persistent.customValueStrategy

JDO Annotation Attribute in javax.jdo.annotations.Persistent String customValueStrategy default "" Custom value strategy to use to generate the value for this field or property (if any). If customValueStrategy is non- empty , then valueStrategy must be UNSPECIFIED. Since: JDO 2.1

javax.jdo.annotations.Version

. If customStrategy is non- empty , strategy must be UNSPECIFIED. Since: JDO 2.1 Extension

javax.jdo.annotations.Version.customStrategy

JDO Annotation Attribute in javax.jdo.annotations.Version String customStrategy default "" Custom strategy for versioning of objects of this class. If customStrategy is non- empty , strategy must be UNSPECIFIED. Since: JDO 2.1

javax.jdo.datastore.DataStoreCache$EmptyDataStoreCache

JDO Class EmptyDataStoreCache java.lang.Object ∟  javax.jdo.datastore.DataStoreCache$EmptyDataStoreCache Implemented Interfaces: DataStoreCache This class is an empty implementation of the DataStoreCache interface. It can be used by an implementation that does not support a second-level cache