Internal Website Search

101-150 of 200 results

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand. execute (DeployCommand.java:491) at com ... .v3.admin.CommandRunnerImpl$2. execute (CommandRunnerImpl.java:522) at com.sun.enterprise.v3.admin ... . execute (CommandRunnerImpl.java:1762) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext

ObjectDB Enincompatible with Quarkus?

)     at org.junit.jupiter.engine. execution .ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)     at org.junit.jupiter.engine. execution ... .java:72)     at org.junit.jupiter.engine. execution .ExecutableInvoker.lambda$invoke$0

BeanCreationException in spring data JPA with objectDB

.startJetty(AbstractJettyMojo.java:371) at org.mortbay.jetty.plugin.AbstractJettyMojo. execute (AbstractJettyMojo.java:307) at org.mortbay.jetty.plugin.AbstractJettyRunMojo. execute (AbstractJettyRunMojo.java:203) at org.mortbay.jetty.plugin.Jetty6RunMojo. execute (Jetty6RunMojo.java:184) at org.apache.maven

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 ... query. execute (param1, param2); This takes 1 second to execute using objectdb1.x, but the same takes ... ERROR  [ProcessSpawner. execute :46] ObjectDB Doctor [version 2.3.7_25] 11-Sep 14:55:33 ERROR 

CriteriaQuery.multiselect(selectionList) - JPA Method

. Replaces the previously specified selection(s), if any. The type of the result of the query execution ... , will be instantiated and returned for each row that results from the query execution . If the type

CriteriaQuery.multiselect(selections) - JPA Method

execution depends on the specification of the type of the criteria query object created as well as ... and returned for each row that results from the query execution . If the type of the criteria query

EntityManager.createNativeQuery(sqlString) - JPA Method

JPA Method in javax.persistence.EntityManager Query createNativeQuery (   String sqlString ) Create an instance of Query for executing a native SQL statement, e.g., for update or delete. If the query is not an update or delete query, query execution will result in each row

Unexpected exception

) at org.junit.jupiter.engine. execution .MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine. execution .InvocationInterceptorChain$ValidatingInvocation.proceed ... (TimeoutExtension.java:74) at org.junit.jupiter.engine. execution .ExecutableInvoker$ReflectiveInterceptorCall

EntityManager.createNamedQuery(name,resultClass) - JPA Method

JPA Method in javax.persistence.EntityManager TypedQuery createNamedQuery (   String name,    Class  resultClass ) Create an instance of TypedQuery for executing a Java Persistence query language named query. The select list of the query must contain

javax.persistence.NamedStoredProcedureQuery

an executable StoredProcedureQuery object. Names are scoped to the persistence unit. The procedureName element

EntityManagerFactory.addNamedQuery(name,query) - JPA Method

is executed , information that can be set by means of the query APIs can be overridden. Information

javax.persistence.EntityManagerFactory

procedure parameters. When the query is executed , information that can be set by means of the query

Query.setLockMode(lockMode) - JPA Method

JPA Method in javax.persistence.Query Query setLockMode (    LockModeType  lockMode ) Set the lock mode type to be used for the query execution . Parameters: lockMode - lock mode Return: the same query instance Throws: IllegalStateException - if the query is found not to be a Java

Query.setFlushMode(flushMode) - JPA Method

JPA Method in javax.persistence.Query Query setFlushMode (    FlushModeType  flushMode ) Set the flush mode type to be used for the query execution . The flush mode type applies to the query regardless of the flush mode type in use for the entity manager. Parameters: flushMode

Query.getFlushMode() - JPA Method

JPA Method in javax.persistence.Query FlushModeType getFlushMode () Get the flush mode in effect for the query execution . If a flush mode has not been set for the query object, returns the flush mode in effect for the entity manager. Return: flush mode Since: JPA 2.0

javax.persistence.MapKeyEnumerated

{JUNIOR, SENIOR, MANAGER, EXECUTIVE } @Entity public class Employee { @ManyToMany public Projects

javax.persistence.NonUniqueResultException

.getSingleResult() or TypedQuery.getSingleResult() is executed on a query and there is more than one result

javax.persistence.NoResultException

TypedQuery.getSingleResult() is executed on a query and there is no result to return. This exception

EntityManager.createQuery(criteriaQuery) - JPA Method

JPA Method in javax.persistence.EntityManager TypedQuery createQuery (    CriteriaQuery  criteriaQuery ) Create an instance of TypedQuery for executing a criteria query. Parameters: criteriaQuery - a criteria query object Return: the new query instance Throws

EntityManager.createQuery(qlString) - JPA Method

JPA Method in javax.persistence.EntityManager Query createQuery (   String qlString ) Create an instance of Query for executing a Java Persistence query language statement. Parameters: qlString - a Java Persistence query string Return: the new query instance Throws

StoredProcedureQuery.setFlushMode(flushMode) - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery StoredProcedureQuery setFlushMode (    FlushModeType  flushMode ) Set the flush mode type to be used for the query execution . The flush mode type applies to the query regardless of the flush mode type in use for the entity manager

javax.persistence.FlushModeType.AUTO

JPA Enum Constant in javax.persistence.FlushModeType AUTO (Default) Flushing to occur at query execution . Since: JPA 1.0

javax.persistence.Enumerated

, MANAGER, EXECUTIVE } @Entity public class Employee { public EmployeeStatus getStatus

TypedQuery.setLockMode(lockMode) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setLockMode (    LockModeType  lockMode ) Set the lock mode type to be used for the query execution . Parameters: lockMode - lock mode Return: the same query instance Throws: IllegalStateException - if the query is found not

TypedQuery.setFlushMode(flushMode) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setFlushMode (    FlushModeType  flushMode ) Set the flush mode type to be used for the query execution . The flush mode type applies to the query regardless of the flush mode type in use for the entity manager. Parameters

EntityManager.createQuery(updateQuery) - JPA Method

JPA Method in javax.persistence.EntityManager Query createQuery (    CriteriaUpdate  updateQuery ) Create an instance of Query for executing a criteria update query. Parameters: updateQuery - a criteria update query object Return: the new query instance Throws

EntityManager.createQuery(deleteQuery) - JPA Method

JPA Method in javax.persistence.EntityManager Query createQuery (    CriteriaDelete  deleteQuery ) Create an instance of Query for executing a criteria delete query. Parameters: deleteQuery - a criteria delete query object Return: the new query instance Throws

CriteriaBuilder.function(name,type,args) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression function (   String name,    Class  type,     Expression ... args ) Create an expression for the execution of a database function. Parameters: name - function name type

EntityManager.createNativeQuery(sqlString,resultSetMapping) - JPA Method

JPA Method in javax.persistence.EntityManager Query createNativeQuery (   String sqlString,    String resultSetMapping ) Create an instance of Query for executing a native SQL query. Parameters: sqlString - a native SQL query string resultSetMapping - the name

EntityManager.createNamedQuery(name) - JPA Method

JPA Method in javax.persistence.EntityManager Query createNamedQuery (   String name ) Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL). Parameters: name - the name of a query defined in metadata Return: the new query

EntityManager.createQuery(qlString,resultClass) - JPA Method

JPA Method in javax.persistence.EntityManager TypedQuery createQuery (   String qlString,    Class  resultClass ) Create an instance of TypedQuery for executing a Java Persistence query language statement. The select list of the query must contain only a single

EntityManager.createNativeQuery(sqlString,resultClass) - JPA Method

JPA Method in javax.persistence.EntityManager Query createNativeQuery (   String sqlString,    Class resultClass ) Create an instance of Query for executing a native SQL query. Parameters: sqlString - a native SQL query string resultClass - the class

javax.jdo.PersistenceManagerFactory

method executed on the proxy closes the PersistenceManager and then clears the ThreadLocal. Use

PersistenceManagerFactory.getPersistenceManagerProxy() - JDO Method

to an instance of PersistenceManager associated with the thread. In this case, the close method executed

PersistenceManager.checkConsistency() - JDO Method

acquired during the execution of this method are held beyond the scope of this method. Since: JDO 2.0

javax.jdo.JDOUserCallbackException

This class represents exceptions caused by exceptions thrown during execution of callbacks or listeners

FetchGroup.removeCategory(categoryName) - JDO Method

the members as if removeMembers was called. After this method executes , the category is not remembered

FetchGroup.addCategory(categoryName) - JDO Method

if addMembers was called. After this method executes , the category is not remembered. Return

Query.setUnique(unique) - JDO Method

JDO Method in javax.jdo.Query void setUnique (   boolean unique ) Specify that only the first result of the query should be returned, rather than a collection. The execute method will return null if the query result size is 0. Parameters: unique - if true, only one element is returned Since: JDO 2.0

Query.setResultClass(cls) - JDO Method

JDO Method in javax.jdo.Query void setResultClass (   Class cls ) Specify the type of object in which to return each element of the result of invoking execute or one of its siblings. If the result is not set or set to null, the result class defaults to the candidate class

Query.deletePersistentAll() - JDO Method

into the cache as a result of executing one of the deletePersistentAll methods undergo life cycle

javax.jdo.Extent

of a particular class or interface to execute a Query in the data store over all instances

Query.compile() - JDO Method

JDO Method in javax.jdo.Query void compile () Verify the elements of the query and provide a hint to the query to prepare and optimize an execution plan. Since: JDO 1.0

DetachLifecycleListener.postDetach(event) - JDO Method

JDO Method in javax.jdo.listener.DetachLifecycleListener void postDetach (    InstanceLifecycleEvent  event ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy after the detached copy is made. It is called after the method DetachCallback

DetachCallback.jdoPostDetach(detached) - JDO Method

JDO Method in javax.jdo.listener.DetachCallback void jdoPostDetach (   Object detached ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy is made. Parameters: detached - The corresponding (attached) persistent instance. Since: JDO 2.0

DetachCallback.jdoPreDetach() - JDO Method

JDO Method in javax.jdo.listener.DetachCallback void jdoPreDetach () This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the persistent instance before the copy is made. Since: JDO 2.0

DetachLifecycleListener.preDetach(event) - JDO Method

JDO Method in javax.jdo.listener.DetachLifecycleListener void preDetach (    InstanceLifecycleEvent  event ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy before the detached copy is made. It is called before the method DetachCallback

AttachCallback.jdoPostAttach(attached) - JDO Method

JDO Method in javax.jdo.listener.AttachCallback void jdoPostAttach (   Object attached ) This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the persistent instance after the copy is made. Parameters: attached The - corresponding (non

AttachCallback.jdoPreAttach() - JDO Method

JDO Method in javax.jdo.listener.AttachCallback void jdoPreAttach () This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the detached instance before the copy is made. Since: JDO 2.0

javax.jdo.PersistenceManager

the consistency check. No datastore resources acquired during the execution of this method are held