ObjectDB Database Search

1-32 of 32 results

jakarta.persistence.EntityNotFoundException

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

jakarta.persistence.EntityNotFoundException.EntityNotFoundException()

Jakarta Persistence (JPA) Constructor in jakarta.persistence. EntityNotFoundException EntityNotFoundException () Constructs a new EntityNotFoundException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityNotFoundException.EntityNotFoundException(Exception)

Jakarta Persistence (JPA) Constructor in jakarta.persistence. EntityNotFoundException EntityNotFoundException (    Exception cause ) Constructs a new EntityNotFoundException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityNotFoundException.EntityNotFoundException(String)

Jakarta Persistence (JPA) Constructor in jakarta.persistence. EntityNotFoundException EntityNotFoundException (    String message ) Constructs a new EntityNotFoundException exception with the specified detail message. Parameters: message - the detail message. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityNotFoundException.EntityNotFoundException(String,Exception)

Jakarta Persistence (JPA) Constructor in jakarta.persistence. EntityNotFoundException EntityNotFoundException (    String message ,    Exception cause ) Constructs a new EntityNotFoundException exception with the specified detail message. Parameters: message - the detail message. Since: Jakarta Persistence (JPA) 1.0

'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 Entity Objects

. If the requested object does not exist an EntityNotFoundException is thrown when the object is first ... an EntityNotFoundException is thrown. Cascading Refresh Marking a reference field with CascadeType . REFRESH (or

jakarta.persistence.EntityManager

does 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

JPA Exceptions

JPA exceptions are represented by a hierarchy of unchecked exceptions: java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.persistence.PersistenceException javax.persistence.EntityExistsException javax.persistence. EntityNotFoundException javax.persistence

jakarta.persistence.EntityManager.getReference(Class,Object)

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

jakarta.persistence.EntityManager.getReference(T)

the database, the EntityNotFoundException is thrown when the instance state is first accessed. (The persistence provider runtime is permitted but not required to throw the EntityNotFoundException ... to the entity instance. Throws: EntityNotFoundException - if the entity state cannot be accessed

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

can removing an entity throw an exception if the entity is in use?

and try to reference the A, I get an EntityNotFoundException . Is there a way to prevent the removal

Remove not working

Hello! We have a strange problem. Caused by: com.objectdb.o._ EntityNotFoundException : Entity is not found: ObjectManager of appnode1/127.0.0.1:6136 [2015-12-15 20:04:20 - 2015-12-15 20:04:20] - 226 (removed in current transaction) at com.objectdb.o.JPE.g(JPE.java:94) at com.objectdb.o.ERR.f(ERR

[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