Internal Website Search

1-13 of 13 results

NonUniqueResultException.NonUniqueResultException(message) - JPA Constructor

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

NonUniqueResultException.NonUniqueResultException() - JPA Constructor

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

javax.persistence.NonUniqueResultException

JPA Exception NonUniqueResultException java.lang.Object ∟  java.lang.Throwable ∟  java ... ∟  javax.persistence. NonUniqueResultException Thrown by the persistence provider when Query ... Public Constructors NonUniqueResultException () Constructs a new NonUniqueResultException exception

Running JPA Queries

), a NonUniqueResultException is thrown. On the other hand, if there are no results at all a NoResultException is thrown

JPA Exceptions

.LockTimeoutException javax.persistence. NonUniqueResultException javax.persistence.NoResultException

StoredProcedureQuery.getSingleResult() - JPA Method

- if there is no result in the next result set NonUniqueResultException - if more than one result

Query.getSingleResult() - JPA Method

JPA Method in javax.persistence.Query Object getSingleResult () Execute a SELECT query that returns a single untyped result. Return: the result Throws: NoResultException - if there is no result NonUniqueResultException - if more than one result IllegalStateException - if called for a Java

TypedQuery.getSingleResult() - JPA Method

JPA Method in javax.persistence.TypedQuery X getSingleResult () Execute a SELECT query that returns a single result. Return: the result Throws: NoResultException - if there is no result NonUniqueResultException - if more than one result IllegalStateException - if called for a Java Persistence

javax.persistence.Query

: NoResultException - if there is no result NonUniqueResultException - if more than one result

javax.persistence.TypedQuery

NonUniqueResultException - if more than one result IllegalStateException - if called for a Java Persistence

javax.persistence.PersistenceException

except for instances of NoResultException , NonUniqueResultException , LockTimeoutException

javax.persistence.StoredProcedureQuery

NonUniqueResultException - if more than one result QueryTimeoutException - if the query execution exceeds

Query debugging configuration from class

Is there a way to show what queries are actually being executed from within a Java class? I'm getting the exception: Exception in thread "main" [ObjectDB 2.5.4_05] javax.persistence. NonUniqueResultException However, I'm unable to debug it because I don't know what the query's actually searching