ObjectDB Database Search

1-23 of 23 results

jakarta.persistence.EntityNotFoundException

Jakarta Persistence (JPA) Class jakarta.persistence. EntityNotFoundException java.lang.Object ... .PersistenceException ∟ jakarta.persistence. EntityNotFoundException Implemented Interfaces: Serializable Thrown ... ) Since: Jakarta Persistence (JPA) 1.0 Public Constructors EntityNotFoundException () Constructs a new

'com.objectdb.o._EntityNotFoundException' vs 'javax.persistence.EntityNotFoundException'

Hello  When I try to catch the EntityNotFoundException , instead of  javax.persistence. EntityNotFoundException a com.objectdb.o._ EntityNotFoundException is thrown, which seemed not to be a subclass of the 'javax.persistence. EntityNotFoundException '. Is there any reason for that behavior

EntityManager.merge gives EntityNotFoundException

Just started using objectdb (2.3.4). Calling EntityManager.merge for a new (non-managed) object gives EntityNotFoundException . I am perplexed by this. See attached test case. Thanks ... . EntityNotFoundException Entity is not found: classdb.Test#'id' (error 631) at com.objectdb.jpa.EMImpl.merge

javax.persistence.EntityNotFoundException using merge

I am trying to persist a new object using merge operation.But I am getting javax.persistence. EntityNotFoundException . When working with other JPA implementor it works fine. I need to use merge beause I need to get the reference to the managed instance of the created object. I am using ObjectDB 2

Retrieving JPA Entities

the database, JPA throws an EntityNotFoundException when the object is first accessed. The getReference ... . If the object no longer exists in the database, refresh throws an EntityNotFoundException

jakarta.persistence.EntityManager

not exist in the database, the EntityNotFoundException is thrown when the instance state is first ... the EntityNotFoundException when getReference() is called.) This operation allows the application to create ... : a reference to the entity instance. Throws: EntityNotFoundException - if the entity state

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

fails and the transaction is rolled back. EntityNotFoundException - if the entity does not exist in

jakarta.persistence.EntityManager.refresh(Object)

: EntityNotFoundException - if the entity no longer exists in the database. IllegalArgumentException

jakarta.persistence.EntityManager.refresh(Object,Map)

Throws: EntityNotFoundException - if the entity no longer exists in the database

jakarta.persistence.EntityManager.refresh(Object,LockModeType)

- if pessimistic locking fails and only the statement is rolled back. EntityNotFoundException

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

- if pessimistic locking fails and the transaction is rolled back. EntityNotFoundException

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

- if pessimistic locking fails and the transaction is rolled back. EntityNotFoundException - if the entity does

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

- if pessimistic locking fails and only the statement is rolled back. EntityNotFoundException

jakarta.persistence.EntityManager.refresh(Object,RefreshOption...)

- if pessimistic locking fails and only the statement is rolled back. EntityNotFoundException - if the entity

Accessiblity of attributes in entities in several OSGi-Bundles

.objectdb.o._ EntityNotFoundException : Entity is not found: com.btc.ep.requirement.bl.internal.model ... to OSGi (if any) is unclear, and possibly  EntityNotFoundException  is the correct ... handled yet. Build 2.6.1_06 should fix this now. However, an  EntityNotFoundException

OneToMany and cascade delete problem

"main" [ObjectDB 2.x] javax.persistence. EntityNotFoundException Entity is not found: com.objectdb.test ... :665) ... 2 more Caused by: com.objectdb.error.jpa._ EntityNotFoundException : Entity is not found: com

Removing objects where ManyToMany relationships exist

be EntityNotFoundException , but sometimes it could be wrapped by another exception, and there may be cases in

InternalError on query of empty database

something like javax.persistence. EntityNotFoundException ? Either that, or is there some way to query

Merge failure with composite primary key

It was working well with previous releases and now is failling: Exception in thread "main" [ObjectDB 2.3.7_20] javax.persistence. EntityNotFoundException Entity is not found: MergeTest#('Hello',0) (error 631) at com.objectdb.jpa.EMImpl.merge(EMImpl.java:451) at MergeTest.main(MergeTest.java:19

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

" [ObjectDB 2.8.8] javax.persistence. EntityNotFoundException Entity is not found: debug.OdbError631$B

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

. EntityNotFoundException ; import javax.persistence.Persistence; public class ReproduceTest {   public ... ) == null) { throw new EntityNotFoundException ("The ChartEntity with id " + id + " no longer exists

EOFException

:1056) ... 27 more Before this error I was getting a large number of EntityNotFoundExceptions : [ObjectDB 2.3.3_06] javax.persistence. EntityNotFoundException Entity is not found: rbccm.digest.workflow

ArrayIndexOutOfBoundsException on flush

.persistence. EntityNotFoundException Entity is not found: rbccm.digest2.execution.TaskNode#397 (error 631