Internal Website Search

51-100 of 200 results

Separate ODB files API

Customer asked during opened ObjectDb connection (ODB location A) to stop writing and continue to another ODB file (Location B). Does exist some API to achieve that? What is a possible solution? Harman Alexander Golyshkin You have to close the database in location A, copy it from location

Is there an API to get the current version of ObjectDB that's being used?

Is there an API to get the current version of ObjectDB that's being used? This would be very handy to have, because it is somewhat difficult to know what version of the ObjectDB you are currently using since the objectdb.jar filename remains the same for all versions (which is not a bad thing by

Issue with TYPE expression in Criteria API

Issue with TYPE expression in Criteria API

criteria api / embedded objects / where order

criteria api / embedded objects / where order

locks on pure query activities

(JpaQuery.java:719) - locked (a com.objectdb.jdo.PMImpl) at com.agile.hummingbird. API .handleQuery( API .java:3020) at com.agile.hummingbird. API .directRequest( API .java:852) at com.agile.hummingbird. API .handleWebSocketRequest( API .java:614) at com.agile.hummingbird.WebSocketServerListener.onWebSocketText

javax.persistence.criteria.CriteriaQuery

that is specific to top-level queries. Since: JPA 2.0 The JPA Criteria API Queries article explains how to use ... : Applications using the string-based API may need to specify the type of the select item when it results

javax.persistence.criteria.CriteriaDelete

JPA Interface CriteriaDelete Type Parameters: - the entity type that is the target of the delete Super Interfaces: CommonAbstractCriteria The CriteriaDelete interface defines functionality for performing bulk delete operations using the Criteria API Criteria API bulk delete operations map directly

javax.persistence.EntityManagerFactory

APIs can be overridden. Information that is overridden does not affect the named query as registered ... of the specified type to allow access to the provider-specific API . If the provider's EntityManagerFactory

javax.persistence.Query

is found not to be a Java Persistence query language SELECT query or a Criteria API query Since: JPA 2.0 ... an object of the specified type to allow access to the provider-specific API . If the provider's query

javax.persistence.TypedQuery

SELECT query or a Criteria API query Inherited from: Query Since: JPA 2.0 int getMaxResults ... -specific API . If the provider's query implementation does not support the specified class

javax.persistence.EntityManager

. Within the persistence context, the entity instances and their lifecycle are managed. The EntityManager API is used ... of the specified type to allow access to the provider-specific API . If the provider's EntityManager

javax.persistence.criteria.CriteriaBuilder

JPA Interface CriteriaBuilder Used to construct criteria queries, compound selections, expressions, predicates, orderings. Note that Predicate is used instead of Expression in this API in order ... Criteria API Queries article explains how to use CriteriaBuilder . Public Methods Expression abs

javax.persistence.StoredProcedureQuery

- if the query is found not to be a Java Persistence query language SELECT query or a Criteria API ... an object of the specified type to allow access to the provider-specific API . If the provider's query

javax.persistence.criteria.Path

The Paths and Types in JPQL and Criteria API article explains how to use Path . Public Methods ... attribute. Note: Applications using the string-based API may need to specify the type resulting from

javax.persistence.criteria.CriteriaUpdate

JPA Interface CriteriaUpdate Type Parameters: - the entity type that is the target of the update Super Interfaces: CommonAbstractCriteria The CriteriaUpdate interface defines functionality for performing bulk update operations using the Criteria API . Criteria API bulk update operations map

Query fails with failed to read

.hummingbird.CT_Container.computeContainer(CT_Container.java:214) com.agile.hummingbird. API .handleGetContainer( API .java:3130) com.agile.hummingbird. API .directRequest( API .java:965) com.agile.hummingbird. API .handleWebSocketRequest( API .java:808) com.agile.hummingbird.WebSocketServerListener

javax.persistence.criteria.Selection

JPA Interface Selection Type Parameters: - the type of the selection item Super Interfaces: TupleElement The Selection interface defines an item that is to be returned in a query result. Since: JPA 2.0 The SELECT clause (JPQL / Criteria API ) article explains how to use Selection . Public Methods

javax.persistence.criteria.Root

JPA Interface Root Type Parameters: - the entity type referenced by the root A root type in the from clause. Query roots always reference entities. Since: JPA 2.0 The FROM clause (JPQL / Criteria API ) article explains how to use Root . Public Methods EntityType getModel () Return the metamodel

javax.persistence.LockTimeoutException

part of an API call, at, flush or at commit time. The current transaction, if one is active, will be not

EntityManagerFactory.unwrap(cls) - JPA Method

JPA Method in javax.persistence.EntityManagerFactory T unwrap (   Class  cls ) Return an object of the specified type to allow access to the provider-specific API . If the provider's EntityManagerFactory implementation does not support the specified class, the PersistenceException

javax.persistence.PessimisticLockException

when an pessimistic locking conflict occurs. This exception may be thrown as part of an API call, a flush or at commit

javax.persistence.criteria.Predicate

and Criteria API article explains how to use Predicate . Public Methods List getExpressions () Return

Path.get(attributeName) - JPA Method

JPA Method in javax.persistence.criteria.Path Path get (   String attributeName ) Create a path corresponding to the referenced attribute. Note: Applications using the string-based API may need to specify the type resulting from the get operation in order to avoid the use of Path

EntityManagerFactory.addNamedQuery(name,query) - JPA Method

is executed, information that can be set by means of the query APIs can be overridden. Information

javax.persistence.OptimisticLockException

locking conflict occurs. This exception may be thrown as part of an API call, a flush or at commit

javax.persistence.Persistence

well; however, support for the Java SE bootstrapping APIs is not required in container environments

Query.unwrap(cls) - JPA Method

JPA Method in javax.persistence.Query T unwrap (   Class  cls ) Return an object of the specified type to allow access to the provider-specific API . If the provider's query implementation does not support the specified class, the PersistenceException is thrown. Parameters: cls

Query.getLockMode() - JPA Method

JPA Method in javax.persistence.Query LockModeType getLockMode () Get the current lock mode for the query. Returns null if a lock mode has not been set on the query object. Return: lock mode Throws: IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query Since: JPA 2.0

javax.persistence.criteria.From

: Applications using the string-based API may need to specify the type resulting from the get operation in

javax.persistence.criteria.Order

JPA Interface Order An object that defines an ordering over the query results. Since: JPA 2.0 The ORDER BY clause (JPQL / Criteria API ) article explains how to use Order . Public Methods Expression getExpression () Return the expression that is used for ordering. Return: expression used

javax.persistence.SqlResultSetMapping.name

JPA Annotation Attribute in javax.persistence.SqlResultSetMapping String name default null The name given to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs . Since: JPA 1.0

javax.persistence.SqlResultSetMapping

to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs . Since: JPA 1.0

Cache.unwrap(cls) - JPA Method

JPA Method in javax.persistence.Cache T unwrap (   Class  cls ) Return an object of the specified type to allow access to the provider-specific API . If the provider's Cache implementation does not support the specified class, the PersistenceException is thrown. Parameters: cls

javax.persistence.Cache

to allow access to the provider-specific API . If the provider's Cache implementation does not support

EntityManager.unwrap(cls) - JPA Method

JPA Method in javax.persistence.EntityManager T unwrap (   Class  cls ) Return an object of the specified type to allow access to the provider-specific API . If the provider's EntityManager implementation does not support the specified class, the PersistenceException is thrown

javax.persistence.criteria.Join

JPA Interface Join Type Parameters: - the source type of the join - the target type of the join A join to an entity, embeddable, or basic type. Since: JPA 2.0 The FROM clause (JPQL / Criteria API ) article explains how to use Join . Public Methods Attribute getAttribute () Return the metamodel

CriteriaQuery.select(selection) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaQuery CriteriaQuery select (   Selection  selection ) Specify the item that is to be returned in the query result. Replaces the previously specified selection(s), if any. Note: Applications using the string-based API may need

Exception makes the system unusable for several minutes

.endAction(AC_Action.java:878) at com.agile.hummingbird. API .executeEndAction( API .java:1874) at com.agile.hummingbird. API .handleAction( API .java:1614) at com.agile.hummingbird. API .directRequest( API .java:1089) at com.agile.hummingbird. API .handleWebSocketRequest( API .java:890) at com.agile.hummingbird

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls ... ) at com.fitbird.boundary. api .util.PlanAccessVerifier. (PlanAccessVerifier.java:40) at com.fitbird.boundary

Query Execution Error

.vereinsverwaltung.abrechnung. api .model.mitglied.MitgliedDebitorenKontoFragment) $1.qubletFRAGMENTMAP.get('com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied.MitgliedDebitorenKontoFragment')).debitor=true)) AND ((((com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied

Errors in log to repprt

.hummingbird. API .executeEndAction( API .java:1718) at com.agile.hummingbird. API .handleAction( API .java:1480) at com.agile.hummingbird. API .directRequest( API .java:1001) at com.agile.hummingbird. API .handleWebSocketRequest( API .java:836) at com.agile.hummingbird.WebSocketServerListener.onWebSocketText

again merger missing logs + objectdb exception

.hummingbird. API .handleGetContainer( API .java:2745) at com.agile.hummingbird. API .directRequest( API .java:802) at com.agile.hummingbird. API .handleWebSocketRequest( API .java:630) at com.agile.hummingbird ... .java:163) at com.agile.hummingbird. API .handleGetContainer( API .java:2745) at com.agile.hummingbird. API

javax.jdo.spi.PersistenceCapable

, and the array is modified, then the persistent instance is not aware of the change. This API ... the same field, and if the package and class name are not provided by the parameter in this API

PersistenceCapable.jdoMakeDirty(fieldName) - JDO Method

of the change. This API allows the application to notify the instance that a change was made to a field ... in this API , then the field marked dirty is the field declared by the most derived class. Transient

JDOHelper.makeDirty(pc,fieldName) - JDO Static Method

instance is not aware of the change. This API allows the application to notify the instance that a change

javax.jdo.JDOHelper

is not aware of the change. This API allows the application to notify the instance that a change

javax.jdo.FetchGroup

the default fetch group via the API does not affect the members defined by this category. Using this category

javax.jdo.FetchGroup.DEFAULT

JDO Static Field in javax.jdo.FetchGroup DEFAULT For use with addCategory and removeCategory calls. This category includes members defined in the default fetch group in xml or annotations. Redefining the default fetch group via the API does not affect the members defined by this category. Using

javax.jdo.spi.StateInterrogation

is modified, then the persistent instance is not aware of the change. This API allows the application

StateInterrogation.makeDirty(pc,fieldName) - JDO Method

, then the persistent instance is not aware of the change. This API allows the application to notify the instance