ObjectDB Database Search

51-100 of 200 results

Puzzler: Not getting cascades on read from Spring context

. My best guess is that perhaps I have something misconfigured in my persistence.xml or my context . 

Glassfish 3.1.2.1 and ObjectDB 2.4.3

[http-listener- 2 ] on host/port [0.0.0.0:8181] INFO: REST00001: Listening to REST requests at context ... . Please wait. INFO: Initializing Mojarra 2 .1.6 (SNAPSHOT 20111206) for context '' INFO: WEB0671: Loading ... - The requested resource () is not available. I tried it on Glassfish server 3.1. 2 and 3.1. 2 . 2 . Sometimes I

ObjectDB JPA 2.2 support ( java.util.stream.Stream )

Hi , in my database i want to fetch resultlist as big chunks.JPA 2 . 2 has new feature named Stream ... objectdb for JPA 2 . 2 ?  eix128 Kadir BAŞOL We hope to support this feature soon ... , similarly to the way that JPA 2 . 2 streams work. To free memory, however you will have to clear

UserException - Object User#2 belongs to another EntityManager

Hi! Scenario's steps: 1. User goes to his profile, a JSF page. 2 . @RequestScoped CDI bean ... .pingushare.entity.p1.User# 2 ' belongs to another EntityManager at com.objectdb.o.MSG.d(MSG.java:61) Why does this error happen, because there 2 independent transactions? I guess

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

more It seems that there is something wrong with persistent context . it seems that glassfish 3.1. 2 behaves differently. I ... Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3.1.1 to 3.1. 2 ... .UIComponent.encodeAll(UIComponent.java:1760) at org.icefaces.impl. context .DOMPartialViewContext.processPartial

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

objectdb- 2 .6.9_02 (with "objectdb.temp.no-enhancement-crc-check" system property ... there are now obsolete): -  Issue #1924 - ObjectDB- 2 .6.9: Failed to commit transaction: Failed ... the system, just for Expert System cases). To make things simpler, this posting will examine only these 2 cases

objectdb:2.8.4 - Error occurred during initialization of boot layer

_UPDATE_JDK9\JavaApps\CommonThirdParty\mockito\objenesis- 2 .1.jar;D:\Projects\Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA_UPDATE_JDK9\JavaApps\CommonThirdParty\mockito\cglib-nodep- 2 . 2 .jar ... \comfyj- 2 .4.jar;D:\Projects\Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA_UPDATE

OutofMemory error with Object DB 2.0

Hi, I am getting the below OutOfMemoryError after I have migrated from objectdb 1.0 to 2 .0 The application works fine with only 256MB heap size with objectdb 1.0  But on 2 .0 even with max heap ... PersistentManager is used to begin the transaction. With objectdb 2 .x do we need to close the 

jakarta.persistence.criteria.CriteriaDelete

context is not synchronized with the result of the bulk delete. A CriteriaDelete object must have a single root. Since: Jakarta Persistence (JPA) 2 .1 Public Instance Methods Root from ( Class

jakarta.persistence.NamedQuery

and the persistence context joined to the transaction. Default: LockModeType.NONE Since: Jakarta Persistence (JPA) 2

jakarta.persistence.PersistenceContext.synchronization

synchronization (Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined ... : SynchronizationType.SYNCHRONIZED Since: Jakarta Persistence (JPA) 2 .1

jakarta.persistence.PersistenceUnitUtil.load(Object,String)

with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3. 2 ... persistent attribute of an entity belonging to the persistence unit and to an open persistence context

jakarta.persistence.PersistenceUnitUtil.load(E,Attribute)

persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3. 2 ... attribute of an entity belonging to the persistence unit and to an open persistence context

jakarta.persistence.PersistenceUnitUtil.load(Object)

and to an open persistence context . After this method returns, PersistenceUnitUtil.isLoaded must return true ... to the persistence unit. PersistenceException - if the entity is not associated with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.EntityManager.detach(Object)

; Object entity ) Evict the given managed or removed entity from the persistence context , causing ... associated with this persistence context , it is ignored. Parameters: entity - a managed or removed entity instance Throws: IllegalArgumentException - if the instance is not an entity. Since: Jakarta Persistence (JPA) 2 .0

jakarta.persistence.EntityManager.find(EntityGraph,Object,FindOption...)

type. If the entity instance is contained in the persistence context , it is returned from there. If the entity is found within the persistence context and the lock mode type is pessimistic ... transaction and a lock mode other than NONE is specified. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.EntityManager.find(Class,Object,LockModeType)

is contained in the persistence context , it is returned from there, and the effect of this method ... within the persistence context and the lock mode type is pessimistic and the entity has a version ... and a lock mode other than NONE is specified. Since: Jakarta Persistence (JPA) 2 .0

jakarta.persistence.EntityManager.find(Class,Object,LockModeType,Map)

. If the entity instance is contained in the persistence context , it is returned from there. If the entity is found within the persistence context and the lock mode type is pessimistic and the entity ... which has not been joined to the current transaction and a lock mode other than NONE is specified. Since: Jakarta Persistence (JPA) 2 .0

jakarta.persistence.EntityManager.find(Class,Object,FindOption...)

it with respect to the specified lock type. If the entity instance is contained in the persistence context , it is returned from there. If the entity is found within the persistence context and the lock mode type ... transaction and a lock mode other than NONE is specified. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.PersistenceUnitUtil.isInstance(Object,Class)

belonging to the persistence unit and to an open persistence context is an instance of the given entity ... to the persistence unit. PersistenceException - if the entity is not associated with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.PersistenceUnitUtil.getClass(T)

with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3. 2 ... unit and to an open persistence context . This method may, but is not required to, load the given

Strings in JPQL and Criteria Queries

to 'aly' . SUBSTRING('Italy', 3, 2 ) is evaluated to 'al' . Positions are one-based (as in SQL), not ... ); Expression l2 = cb. locate (path, "x"); Expression l3 = cb. locate (path, param, cb. literal ( 2 )); Expression l4 = cb. locate (path, "x", 2 ); // LOWER(str) and UPPER(str) Expression lower = cb. lower (path

Numbers in JPQL and Criteria Queries

. For example: MOD(11, 3) evaluates to 2 . MOD(8, 4) evaluates to 0 . The MOD function takes two integer ... function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT( 2 ... (+) Expression sum1 = cb. sum (path, param); // 2 expressions Expression sum2 = cb. sum (path, 1000

ObjectDB internal error on 2.6.5 for some query which worked on 2.6.4

Following query caused NULL pointer exception. Also this query worked fine on ObjectDb 2 .6.4b6 ... ="MESSAGE" OR $1.keyDescriptor.name=" CONTEXT ")) ORDER BY $1.timestamp 1. Priority HIGH since affected customers. 2 . Attached screenshot + database exampe Harman Alexander Golyshkin Thank you for this report

jakarta.persistence.FlushModeType

for the persistence context is AUTO (the default) and a flush mode setting has not been specified for the Query or ... of all entities in the persistence context which could potentially affect the result of the query ... , if COMMIT is set, the effect of updates made to entities in the persistence context on queries

jakarta.persistence.PersistenceContextType

, Comparable , Serializable Specifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext . If not specified, a transaction-scoped persistence context is used. Since: Jakarta Persistence (JPA) 1.0 Enum Constants EXTENDED Extended persistence context Since: Jakarta

jakarta.persistence.TypedQuery.getResultStream()

other than NONE has been set and there is no transaction or the persistence context has not been joined ... and only the statement is rolled back. See Also: Stream .getResultList() Since: Jakarta Persistence (JPA) 2 . 2

jakarta.persistence.Query.getResultStream()

other than NONE has been set and there is no transaction or the persistence context has not been joined ... and only the statement is rolled back. See Also: Stream .getResultList() Since: Jakarta Persistence (JPA) 2 . 2

ObjectDB License

. You are encouraged to test ObjectDB before purchasing a license. Server License ObjectDB 2 .x Server License costs £500  and includes all version 2 .x updates. A server license covers one installation ... a Server License Site License ObjectDB 2 .x Site License costs £2,500  and includes all version 2 .x

jakarta.persistence.TypedQuery.getSingleResultOrNull()

and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.EntityManager.runWithConnection(ConnectionConsumer)

with a transaction, the action is executed in the context of the transaction. The given action should close ... Exception thrown by ConnectionConsumer.accept , if any. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.EntityManager.callWithConnection(ConnectionFunction)

is executed in the context of the transaction. The given function should close any resources it creates ... : PersistenceException - wrapping the checked Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.EntityManager.lock(Object,LockModeType,LockOption...)

an entity instance belonging to the persistence context , obtaining the specified lock mode , using ... - if there is no transaction or if invoked on an entity manager which has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.EntityManager.lock(Object,LockModeType,Map)

instance belonging to the persistence context , obtaining the specified lock mode , using the specified ... to the current transaction. Since: Jakarta Persistence (JPA) 2 .0

jakarta.persistence.EntityManager.getLockMode(Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager LockModeType getLockMode (    Object entity ) Get the current lock mode held by this persistence context on the given ... if the entity manager has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 2 .0

jakarta.persistence.EntityManager.setCacheRetrieveMode(CacheRetrieveMode)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setCacheRetrieveMode (    CacheRetrieveMode cacheRetrieveMode ) Set the default cache retrieval mode for this persistence context . Parameters: cacheRetrieveMode - cache retrieval mode Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.EntityManager.setCacheStoreMode(CacheStoreMode)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setCacheStoreMode (    CacheStoreMode cacheStoreMode ) Set the default cache storage mode for this persistence context . Parameters: cacheStoreMode - cache storage mode Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.EntityManager.getCacheRetrieveMode()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager CacheRetrieveMode getCacheRetrieveMode() The cache retrieval mode for this persistence context . Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.EntityManager.getCacheStoreMode()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager CacheStoreMode getCacheStoreMode() The cache storage mode for this persistence context . Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.NamedQuery.lockMode

.NONE is specified, the query must be executed in a transaction and the persistence context joined to the transaction. Default: LockModeType.NONE Since: Jakarta Persistence (JPA) 2 .0

jakarta.persistence.EntityManager.find(Class,Object,Map)

. If the entity instance is contained in the persistence context , it is returned from there. If a vendor ... for that entity's primary key or is null. Since: Jakarta Persistence (JPA) 2 .0

jakarta.persistence.Query.getSingleResultOrNull()

the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3. 2

[ObjectDB 2.4.1] Unexpected exception (Error 990)

Hi, getting this unexpected exception, would welcome advice: [ObjectDB 2 .4.1] Unexpected exception ... .evaluate(RunBefores.java:27) at org.springframework.test. context .junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.springframework.test. context .junit4

JPA Class Enhancer

line: ObjectDB Enhancer [version 2 .9.4] Copyright (c) 2025, ObjectDB Software. All rights reserved ... lists the classes that have been enhanced: [ObjectDB 2 .9.4] 3 persistable types have been enhanced: test.MyEntity1 test.MyEntity2 test.MyEmbeddable 2 NON persistable types have been enhanced: Main test

Eclipse Public License - v 1.0

. "Recipient" means anyone who receives the Program under this Agreement, including all Contributors. 2 ... such Recipient's patent(s), then such Recipient's rights granted under Section 2 (b) shall terminate as ... its Contributions) under the new version. Except as expressly stated in Sections 2 (a) and 2 (b

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

The following error is reported for objectdb- 2 .6.9.jar: Failed to commit transaction: Failed ... (error 613) Did not happen with objectdb- 2 .6.3_04 (which one can easily test and compare in the test ... : (all classes within entity packages): javac.classpath:lib/objectdb- 2 .6.9.jar [ObjectDB 2 .6.9 Enhancer] 8

Step 1: Create a Maven Web Project

.objectdb.com com.objectdb objectdb 2 .8.1 org.eclipse.persistence javax.persistence 2 .1.0 javax.transaction jta 1.1 javax.servlet servlet-api 2 .5 provided javax.servlet.jsp jsp-api 2 .1 provided org ... .springframework spring-orm 3.0.5.RELEASE aopalliance aopalliance 1.0 cglib cglib 2 . 2 org.aspectj aspectjweaver

Step 1: Create a Maven Web Project

;  com.objectdb    objectdb    2 .8.1        org.eclipse.persistence      javax.persistence      2 .1.0       ... ;      javax.servlet    servlet-api    2 .5    provided  

[ODB1] Chapter 7 - JDOQL Queries

) void setCandidates(Extent pcs) void setFilter(String filter) 7. 2   Query Filter Syntax ... , 0, 0xFFFF, 07777 , ... long 2003L, -127L, 0L, 0xFFFFL, 07777L , ... float 3.14F, 0f, 1e2f, - 2 .f, 5.04e+17f , ... double 3.14, 0d, 1e2D, - 2 ., 5.04e+17 , ... char 'x', '@', '\n', '\\', '\'', '\uFFFF

[ODB1] Chapter 6 - Persistent Objects

of persistent types is available at section 3. 2 ). ObjectDB provides an additional storing method ... (an embedded object can only be retrieved using a reference from its containing object). 6. 2   ... of the first object in the database is always 1, the ID of the second object is 2