Internal Website Search

1-50 of 200 results

PersistenceException.PersistenceException(cause) - JPA Constructor

JPA Constructor in javax.persistence. PersistenceException PersistenceException (   Throwable cause ) Constructs a new PersistenceException exception with the specified cause. Parameters: cause - the cause. Since: JPA 1.0

PersistenceException.PersistenceException(message,cause) - JPA Constructor

JPA Constructor in javax.persistence. PersistenceException PersistenceException (   String message,    Throwable cause ) Constructs a new PersistenceException exception with the specified detail message and cause. Parameters: message - the detail message. cause - the cause. Since: JPA 1.0

PersistenceException.PersistenceException(message) - JPA Constructor

JPA Constructor in javax.persistence. PersistenceException PersistenceException (   String message ) Constructs a new PersistenceException exception with the specified detail message. Parameters: message - the detail message. Since: JPA 1.0

PersistenceException.PersistenceException() - JPA Constructor

JPA Constructor in javax.persistence. PersistenceException PersistenceException () Constructs a new PersistenceException exception with null as its detail message. Since: JPA 1.0

javax.persistence.PersistenceException

JPA Exception PersistenceException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax.persistence. PersistenceException Thrown by the persistence provider when a problem occurs. All instances of PersistenceException

PersistenceException UserException: Failed to validate persistence.xml

! } But everytime it fires this exception:  javax.persistence. PersistenceException : Explicit persistence ... encountered a non-application exception; nested exception is: javax.persistence. PersistenceException ... ; nested exception is: javax.persistence. PersistenceException : Explicit persistence provider error(s

Spring Data JPA - PersistenceException thrown

failed; nested exception is com.objectdb.o._ PersistenceException : Failed to validate xml file ... .java:351) ... 69 more Caused by: com.objectdb.o._ PersistenceException : Failed to validate xml file / /META-INF/orm-objectdb.xml: at com.objectdb.o._ PersistenceException .b(_ PersistenceException .java:45

PersistenceException: Failed to locate field

._ PersistenceException : Failed to locate field in this case, adding a primitive String field to an Entity ... .objectdb.o._ PersistenceException : Failed to locate field field app.model.Auction.name2 using reflection at com.objectdb.o._ PersistenceException .b(_ PersistenceException .java:45) at com.objectdb.o.JPE.g(JPE

_PersistenceException: Type is not found on getSingleResult.

that's been initialized i get this error: com.objectdb.o._ PersistenceException : Type Estudiante is not found

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

.persistence. PersistenceException : No Persistence provider for EntityManager named objectdb

javax.persistence.PersistenceException

.createEntityManagerFactory("$objectdb/db/pilots.odb"); I get the following: "javax.persistence. PersistenceException

_PersistenceException: Failed to open file

Hello! I am experiencing a problem: JBWEB000309: type JBWEB000066: Exception report JBWEB000068: message com.objectdb.o._ PersistenceException : Failed to open file '/Users/username/JBossSoftware/jboss-eap-6.2/bin/$objectdb:/localhost:8080/db/guests.odb' the path in persistence.xml

Cannot catch a PersistenceException and continue the transaction

Cannot catch a PersistenceException and continue the transaction

JPA Exceptions

.Throwable java.lang.Exception java.lang.RuntimeException javax.persistence. PersistenceException ... are represented directly by the PersistenceException class. Some specific errors are represented by subclasses of PersistenceException . For example, an attempt to update the database with no active

Index Definition

that prevents duplicate values in the indexed field. A PersistenceException is thrown on commit (or flush

Defining a JPA Entity Class

as an entity class will cause a PersistenceException . This is similar

Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema

PersistenceException is thrown.  For us, and I assume many other users, this isn’t a problem ... if this particular exception were a type/subclass of PersistenceException that we can catch and handle differently than more critical PersistenceExceptions .  Please consider this suggestion and let me know

com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection

._ PersistenceException : Failed to locate set method for field property domain.PlatformTicker.platformConnector using reflection at com.objectdb.o._ PersistenceException .b(_ PersistenceException .java:45) at com.objectdb.o

Close() Method of EMF throwing "PersistenceException: Connection is closed" on first attempt to close.

._ PersistenceException : Connection is closed due to UserException: Connection is closed com.objectdb.o._ PersistenceException :45 com.objectdb.o.JPE:145 com.objectdb.o.ERR:56 com.objectdb.o.OST:599 com.objectdb.o

javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL

javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL

javax.persistence.EntityManager

- if pessimistic locking fails and only the statement is rolled back PersistenceException ... back LockTimeoutException - if pessimistic locking fails and only the statement is rolled back PersistenceException ... to the current transaction PersistenceException - if the flush fails Since: JPA 1.0 CriteriaBuilder

javax.persistence.StoredProcedureQuery

exceeds the query timeout value set and only the statement is rolled back PersistenceException ... value set and only the statement is rolled back PersistenceException - if the query execution ... back PersistenceException - if the query execution exceeds the query timeout value set and the transaction

javax.persistence.Query

back PersistenceException - if the query execution exceeds the query timeout value set and the transaction ... back PersistenceException - if the query execution exceeds the query timeout value set and the transaction ... and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value

javax.persistence.TypedQuery

timeout value set and only the statement is rolled back PersistenceException - if the query ... - if pessimistic locking fails and only the statement is rolled back PersistenceException - if the query ... back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled

javax.persistence.EntityTransaction

whether transaction is in progress Throws: PersistenceException - if an unexpected error condition ... : IllegalStateException - if isActive() is false PersistenceException - if an unexpected error condition

EntityManagerFactory.unwrap(cls) - JPA Method

EntityManagerFactory implementation does not support the specified class, the PersistenceException ... : an instance of the specified class Throws: PersistenceException - if the provider does not support the call Since: JPA 2.1

javax.persistence.EntityManagerFactory

implementation does not support the specified class, the PersistenceException is thrown. Parameters: cls ... class Throws: PersistenceException - if the provider does not support the call Since: JPA 2.1

Query.unwrap(cls) - JPA Method

implementation does not support the specified class, the PersistenceException is thrown. Parameters: cls ... : PersistenceException - if the provider does not support the call Since: JPA 2.0

Cache.unwrap(cls) - JPA Method

implementation does not support the specified class, the PersistenceException is thrown. Parameters: cls ... : PersistenceException - if the provider does not support the call Since: JPA 2.1

javax.persistence.Cache

the specified class, the PersistenceException is thrown. Parameters: cls - the class of the object ... that it implements. Return: an instance of the specified class Throws: PersistenceException - if the provider does not support the call Since: JPA 2.1

EntityManager.unwrap(cls) - JPA Method

EntityManager implementation does not support the specified class, the PersistenceException is thrown ... class Throws: PersistenceException - if the provider does not support the call Since: JPA 2.0

javax.persistence.EntityExistsException

JPA Exception EntityExistsException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax.persistence. PersistenceException ∟  ... when the persist operation is invoked, or the EntityExistsException or another PersistenceException

EntityTransaction.rollback() - JPA Method

JPA Method in javax.persistence.EntityTransaction void rollback () Roll back the current resource transaction. Throws: IllegalStateException - if isActive() is false PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0

javax.persistence.EntityNotFoundException

JPA Exception EntityNotFoundException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax.persistence. PersistenceException ∟  javax.persistence.EntityNotFoundException Thrown by the persistence provider when an entity

javax.persistence.LockTimeoutException

JPA Exception LockTimeoutException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax.persistence. PersistenceException ∟  javax.persistence.LockTimeoutException Thrown by the persistence provider when an pessimistic

javax.persistence.PessimisticLockException

JPA Exception PessimisticLockException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax.persistence. PersistenceException ∟  javax.persistence.PessimisticLockException Thrown by the persistence provider

javax.persistence.LockModeType

call, it must throw the PersistenceException . The lock modes LockModeType.PESSIMISTIC_READ , LockModeType

javax.persistence.OptimisticLockException

JPA Exception OptimisticLockException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax.persistence. PersistenceException ∟  javax.persistence.OptimisticLockException Thrown by the persistence provider when an optimistic

Query.executeUpdate() - JPA Method

and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value

StoredProcedureQuery.hasMoreResults() - JPA Method

and only the statement is rolled back PersistenceException - if the query execution exceeds

javax.persistence.NonUniqueResultException

JPA Exception NonUniqueResultException java.lang.Object ∟  java.lang.Throwable ∟  java.lang.Exception ∟  java.lang.RuntimeException ∟  javax.persistence. PersistenceException ∟  javax.persistence.NonUniqueResultException Thrown by the persistence provider when Query

StoredProcedureQuery.getSingleResult() - JPA Method

is rolled back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 2.1

StoredProcedureQuery.getResultList() - JPA Method

is rolled back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 2.1

Query.getResultStream() - JPA Method

and only the statement is rolled back PersistenceException - if the query execution exceeds the query

StoredProcedureQuery.getUpdateCount() - JPA Method

is rolled back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 2.1

Query.getSingleResult() - JPA Method

and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 1.0

Query.getResultList() - JPA Method

fails and only the statement is rolled back PersistenceException - if the query execution exceeds

TypedQuery.getSingleResult() - JPA Method

is rolled back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back Since: JPA 2.0

TypedQuery.getResultList() - JPA Method

fails and only the statement is rolled back PersistenceException - if the query execution exceeds

TypedQuery.getResultStream() - JPA Method

and only the statement is rolled back PersistenceException - if the query execution exceeds the query