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

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

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

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

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

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

"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

Low performance when getting grove roots

Tsichevski Done as you suggested. Now the query result is always empty :-(   Regards, Vladimir ... would be needed in order to understand the empty results. Does it happen also with a new database file

AttributeNode.getKeySubgraphs() - JPA Method

JPA Method in javax.persistence.AttributeNode Map getKeySubgraphs () Return the Map of subgraphs associated with this attribute node's map key. Return: Map of subgraphs associated with this attribute node's map key or empty Map if none have been defined Since: JPA 2.1

javax.persistence.Subgraph

that are included in the subgraph. Return: list of attribute nodes included in the subgraph or empty List

javax.persistence.Query

parameters of the query. Returns empty set if the query has no parameters. This method is not required

javax.persistence.TypedQuery

() Get the parameter objects corresponding to the declared parameters of the query. Returns empty set if the query

EntityGraph.getAttributeNodes() - JPA Method

JPA Method in javax.persistence.EntityGraph List getAttributeNodes () Return the attribute nodes of this entity that are included in the entity graph. Return: attribute nodes for the annotated entity type or empty list if none have been defined Since: JPA 2.1

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

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

AbstractQuery.getRoots() - JPA Method

JPA Method in javax.persistence.criteria.AbstractQuery Set getRoots () Return the query roots. These are the roots that have been defined for the CriteriaQuery or Subquery itself, including any subquery roots defined as a result of correlation. Returns empty set if no roots have been defined

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

javax.persistence.criteria.Fetch

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

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.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

javax.persistence.StoredProcedureQuery

to the declared parameters of the query. Returns empty set if the query has no parameters. This method

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

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

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.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.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.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

javax.persistence.criteria.Join

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

javax.persistence.EntityGraph

or empty list if none have been defined Since: JPA 2.1 String getName () Return the name of a named

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

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

ObjectDB 2.5.4

Added empty implementation of new JPA 2.1 methods. Implemented new JPA 2.1 EntityManagerFactory methods:  createEntityManager , unwrap . Improved retrieving persistent string fields by using "".intern() for empty strings. Fixed a bug in queries on composed embedded primary key ( issue #1301 ).

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

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.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.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.DatastoreIdentity

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

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.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