ObjectDB Database Search
101-150 of 200 resultsEntity object parameter in Explorer parameter Hello, I cannot set an entity object in a parameter for a bulk update in the explorer query ... parameter for an update ? Any time that I need to do a bulk update , I need to compile a special ... the SET clause. For example, in the query: UPDATE Account dep SET dep.status=:a WHERE dep.status=:b | |
Pessimistic Lock Timeouts setting. My situation is where many clients from 1 company are accessing the same counter when bulk ... on stale updates . Willks William Support of pessimistic lock timeout setting ( javax.persistence ... to update object com.x.y.z.ProductCodeTracking:1 - locked by another owner (error 672) And finally | |
objectdb:2.8.4 - Error occurred during initialization of boot layer:/Projects/Anritsu/Perforce/ws_alexander.golyshkin_ALL/DEV/RTD_7_6_0_JAVA_ UPDATE _JDK9/JavaApps ... .jar;D:\Projects\Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA_ UPDATE _JDK9\JavaApps ... _ UPDATE _JDK9\JavaApps\CommonThirdParty\mockito\objenesis-2.1.jar;D:\Projects\Anritsu\Perforce\ws_alexander | |
InterfaceRef jakarta.persistence.StoredProcedureQuery the most general case (multiple result sets and/or update counts, possibly also in combination ... , and false if it is an update count or there are no results other than through INOUT and OUT parameters ... the pending result if it is an update count. The getUpdateCount method will return either the update count | |
InterfaceRef jakarta.persistence.EntityManager persistent identity. Note that there is no explicit " update " operation; since an entity is a managed object ... statement, e.g., for update or delete. If the query is not an update or delete query, query execution ... for executing a criteria update query. Parameters: updateQuery - a criteria update query object Return | |
EnumRef jakarta.persistence.LockModeType_FORCE_INCREMENT on a versioned object, will also force an update (increment) to the entity's ... among transactions attempting to update the entity data. A lock with LockModeType.PESSIMISTIC_READ can be used ... of deadlock or update failure among concurrent updating transactions. The persistence implementation | |
InterfaceRef jakarta.persistence.Query . Public Methods int executeUpdate () Execute an update or delete statement. Return: the number of entities updated or deleted Throws: IllegalStateException - if called for a Jakarta Persistence query ... Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query execution | |
InterfaceRef jakarta.persistence.TypedQuery () Execute an update or delete statement. Return: the number of entities updated or deleted Throws ... : IllegalStateException - if called for a Jakarta Persistence query language UPDATE or DELETE statement ... Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds | |
StoredProcedureQuery.getUpdateCount() - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery int getUpdateCount () Return the update count or -1 if there is no pending result or if the next result is not an update count. Return: update count or -1 if there is no pending result or if the next result is not an update count Throws | |
InterfaceRef jakarta.persistence.criteria.CommonAbstractCriteria that is common to both top-level criteria queries and subqueries as well as to update and delete ... queries and criteria update and delete operations are typed differently. Criteria queries are typed according to the query result type. Update and delete operations are typed according to the target | |
AnnotationRef jakarta.persistence.OrderColumn is responsible for updating the ordering upon flushing to the database to reflect any insertion, deletion, or ... when updating the association or element collection. The order column value for the first element is 0 ... which declares this column. May not be used in conjunction with () . Since: JPA 3.2 boolean updatable default | |
StoredProcedureQuery.executeUpdate() - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery int executeUpdate () Return the update count of -1 if there is no pending result or if the first result is not an update count. The provider will call execute on the query if needed. Return: the update count or -1 if there is no pending result | |
EntityManager.createQuery(updateQuery) - JPA Method 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: IllegalArgumentException - if the update query is found to be invalid Since: JPA 2.1 | |
EnumRef jakarta.persistence.FlushModeType for the Query or TypedQuery object, the persistence provider is responsible for ensuring that all updates ... may achieve this by flushing updates to those entities to the database or by some other means. On the other hand, if COMMIT is set, the effect of updates made to entities in the persistence context on queries | |
AnnotationRef jakarta.persistence.ForeignKey [ ( {, } ... ) ] [ ON UPDATE ] [ ON DELETE ] When the ConstraintMode value is CONSTRAINT , but the foreignKeyDefinition element is not specified, the provider will generate foreign key constraints whose update ... . If the foreignKeyDefinition element is not specified, the provider will generate a constraint whose update and delete | |
CriteriaUpdate.set(attribute,value) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate set ( Path attribute, Expression value ) Update the value of the specified attribute. Parameters: attribute - attribute to be updated value - new value Return: the modified update query Since: JPA 2.1 | |
CriteriaUpdate.set(attribute,value) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate set ( Path attribute, X value ) Update the value of the specified attribute. Parameters: attribute - attribute to be updated value - new value Return: the modified update query Since: JPA 2.1 | |
CriteriaUpdate.set(attribute,value) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate set ( SingularAttribute attribute, Expression value ) Update the value of the specified attribute. Parameters: attribute - attribute to be updated value - new value Return: the modified update query Since: JPA 2.1 | |
CriteriaUpdate.set(attribute,value) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate set ( SingularAttribute attribute, X value ) Update the value of the specified attribute. Parameters: attribute - attribute to be updated value - new value Return: the modified update query Since: JPA 2.1 | |
CriteriaUpdate.where(restrictions) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate where ( Predicate... restrictions ) Modify the update query to restrict the target of the update according ... . Parameters: restrictions - zero or more restriction predicates Return: the modified update query Since: JPA 2.1 | |
CriteriaUpdate.where(restriction) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate where ( Expression restriction ) Modify the update query to restrict the target of the update according ... : restriction - a simple or compound boolean expression Return: the modified update query Since: JPA 2.1 | |
CriteriaUpdate.set(attributeName,value) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate set ( String attributeName, Object value ) Update the value of the specified attribute. Parameters: attributeName - name of the attribute to be updated value - new value Return: the modified update query Since: JPA 2.1 | |
EntityManager.createQuery(updateQuery) - JPA Method 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: IllegalArgumentException - if the update query is found to be invalid Since: JPA 2.1 | |
Explorer bug ? Objects seem to be missing from database in Class view, but are present as references to elementId(1) INFO: RequestBean []: Updated : com.greensoft.entity.Project [1](TEST: project 1) INFO ... ) to elementId(7) INFO: RequestBean []: Updated : com.greensoft.entity.Block [7](TEST: constrained block1, in 1st project) INFO: RequestBean []: Updated : com.greensoft.entity.Constraint [8](TEST: a 1st | |
AnnotationRef jakarta.persistence.MapKeyJoinColumn and is useful for when the unique key constraint is only a single field. Since: JPA 2.0 boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0 | |
Query.executeUpdate() - JPA Method JPA Method in jakarta.persistence.Query int executeUpdate () Execute an update or delete statement. Return: the number of entities updated or deleted Throws: IllegalStateException - if called for a Jakarta Persistence query language SELECT statement or for a criteria query | |
AnnotationRef jakarta.persistence.MapKeyColumn level. Since: JPA 2.0 boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.Column mapping and to constraints specified at the table level. Since: JPA 1.0 boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.Version occurs when verification of the version or timestamp fails during an attempt to update the entity ... instance and attempting to update or delete the state of the instance. The version attribute | |
EnumRef jakarta.persistence.CacheStoreMode Constants BYPASS Don't insert into cache. Since: JPA 2.0 REFRESH Insert/ update entity data held in ... and insert/ update entity data when written to the database: this is the default behavior. Does not force | |
AnnotationRef jakarta.persistence.JoinColumn key that is part of a foreign key. Since: JPA 1.0 boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0 | |
CriteriaUpdate.from(entity) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate Root from ( EntityType entity ) Create and add a query root corresponding to the entity that is the target of the update . A CriteriaUpdate object has a single root, the entity that is being updated . Parameters: entity | |
CriteriaUpdate.from(entityClass) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate Root from ( Class entityClass ) Create and add a query root corresponding to the entity that is the target of the update . A CriteriaUpdate object has a single root, the entity that is being updated . Parameters: entityClass | |
EntityManager.createNativeQuery(sqlString) - JPA Method JPA Method in jakarta.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 | |
GC Memory.o.PRG.af(PRG.java:553) at com.objectdb.o.QRM.Vb(QRM.java:286) I am doing a bulk load for customer ... . So bulk load of data into the database should be done in smaller transaction (with begin and commit | |
EnumConstRef jakarta.persistence.LockModeType.OPTIMISTIC_FORCE_INCREMENT JPA Enum Constant in jakarta.persistence.LockModeType OPTIMISTIC_FORCE_INCREMENT Optimistic lock, with version update . Since: JPA 2.0 | |
EnumConstRef jakarta.persistence.LockModeType.PESSIMISTIC_FORCE_INCREMENT JPA Enum Constant in jakarta.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update . Since: JPA 2.0 | |
StoredProcedureQuery.hasMoreResults() - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery boolean hasMoreResults () Return true if the next result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Return: true if next result corresponds | |
Query.getResultStream() - JPA Method Throws: IllegalStateException - if called for a Jakarta Persistence query language UPDATE or DELETE | |
Query.getSingleResult() - JPA Method Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query execution | |
Query.getResultList() - JPA Method JPA Method in jakarta.persistence.Query List getResultList () Execute a SELECT query and return the query results as an untyped List. Return: a list of the results, or an empty list if there are no results Throws: IllegalStateException - if called for a Jakarta Persistence query language UPDATE or | |
TypedQuery.getSingleResult() - JPA Method for a Jakarta Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query | |
TypedQuery.getResultList() - JPA Method Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds | |
TypedQuery.getResultStream() - JPA Method: IllegalStateException - if called for a Jakarta Persistence query language UPDATE or DELETE statement | |
EnumConstRef jakarta.persistence.CacheStoreMode.REFRESH JPA Enum Constant in jakarta.persistence.CacheStoreMode REFRESH Insert/ update entity data held in the cache when read from the database and when written to the database. Force refresh of cache for items read from database. Since: JPA 2.0 | |
EntityManager.merge(entity) - JPA Method JPA Method in jakarta.persistence.EntityManager T merge ( T entity ) Merge the state of the given new or detached entity instance into the current persistence context, resulting in, respectively, an insert or possible update when the persistence context is synchronized | |
ClassRef jakarta.persistence.PersistenceConfiguration for validation at PreRemove . Since: JPA 3.2 VALIDATION_GROUP_PRE_ UPDATE Target groups for validation at PreUpdate . Since: JPA 3.2 | |
StoredProcedureQuery.getOutputParameterValue(position) - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery Object getOutputParameterValue ( int position ) Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update counts must be retrieved | |
AnnotationAttrRef jakarta.persistence.ForeignKey.value will generate a constraint whose update and delete actions it determines most appropriate for the join column | |
StoredProcedureQuery.execute() - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery boolean execute () Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Return: true if first result corresponds |