ObjectDB Database Search

101-150 of 200 results

Entity 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

Schema-Update: Rename superclass and remove one subclass

Schema-Update: Rename superclass and remove one subclass

javax.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

CriteriaBuilder.createCriteriaDelete(targetEntity) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder CriteriaDelete createCriteriaDelete (   Class  targetEntity ) Create a CriteriaDelete query object to perform a bulk delete operation. Parameters: targetEntity - target type for delete operation Return: the query object Since: JPA 2.1

javax.persistence.LockModeType

of type LockModeType.OPTIMISTIC_FORCE_INCREMENT on a versioned object, will also force an update ... serialization among transactions attempting to update the entity data. A lock with LockModeType ... and there is a high likelihood of deadlock or update failure among concurrent updating transactions

javax.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 Java Persistence query ... UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds the query timeout

javax.persistence.TypedQuery

() Execute an update or delete statement. Return: the number of entities updated or deleted Throws ... : IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement ... of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or

javax.persistence.EntityManager

, e.g., for update or delete. If the query is not an update or delete query, query execution ...  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

StoredProcedureQuery.getUpdateCount() - JPA Method

JPA Method in javax.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

javax.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

javax.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 ... . Since: JPA 2.0 boolean updatable default true (Optional) Whether the column is included in SQL

StoredProcedureQuery.executeUpdate() - JPA Method

JPA Method in javax.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

javax.persistence.Column

_COST", updatable =false, precision=12, scale=2) public BigDecimal getCost() { return cost ... 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

javax.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 and delete ... a constraint whose update and delete actions it determines most appropriate for the join column(s

CriteriaUpdate.set(attribute,value) - JPA Method

JPA Method in javax.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 javax.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 javax.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 javax.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 javax.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 javax.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 javax.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

javax.persistence.MapKeyJoinColumn

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 javax.persistence.Query int executeUpdate () Execute an update or delete statement. Return: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria query TransactionRequiredException

javax.persistence.MapKeyColumn

updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.FlushModeType

TypedQuery object, the persistence provider is responsible for ensuring that all updates to the state ... , the effect of updates made to entities in the persistence context upon queries is unspecified

javax.persistence.CacheStoreMode

insert into cache. Since: JPA 2.0 REFRESH Insert/ update entity data into cache when read from database ... 2.0 USE Insert entity data into cache when read from database and insert/ update entity data

javax.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 javax.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 javax.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 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

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

javax.persistence.LockModeType.OPTIMISTIC_FORCE_INCREMENT

JPA Enum Constant in javax.persistence.LockModeType OPTIMISTIC_FORCE_INCREMENT Optimistic lock, with version update . Since: JPA 2.0

javax.persistence.LockModeType.PESSIMISTIC_FORCE_INCREMENT

JPA Enum Constant in javax.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update . Since: JPA 2.0

javax.persistence.OneToOne

( name="CUSTREC_ID", unique=true, nullable=false, updatable =false) public CustomerRecord

StoredProcedureQuery.hasMoreResults() - JPA Method

JPA Method in javax.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

for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query

Query.getSingleResult() - JPA Method

Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds

Query.getResultList() - JPA Method

JPA Method in javax.persistence.Query List getResultList () Execute a SELECT query and return the query results as an untyped List. Return: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException

TypedQuery.getSingleResult() - JPA Method

query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds

TypedQuery.getResultList() - JPA Method

JPA Method in javax.persistence.TypedQuery List getResultList () Execute a SELECT query and return the query results as a typed List. Return: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException

PersistenceManagerFactory.setReadOnly(flag) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setReadOnly (   boolean flag ) Sets the value for whether the datastore is to be considered read-only. ReadOnly set to false specifies that no updates can be performed to the datastore, and if updates are attempted

javax.jdo.PersistenceManagerFactory

set to false specifies that no updates can be performed to the datastore, and if updates

javax.jdo.annotations.Value

ForeignKeyAction.UNSPECIFIED Update action to apply to any foreign key for the value. Since: JDO 2.1

javax.jdo.annotations.Key

to generate. Since: JDO 2.1 ForeignKeyAction updateAction default ForeignKeyAction.UNSPECIFIED Update

javax.jdo.annotations.Key.updateAction

JDO Annotation Attribute in javax.jdo.annotations.Key ForeignKeyAction updateAction default ForeignKeyAction.UNSPECIFIED Update action to apply to the foreign key for the key. Since: JDO 2.1

javax.jdo.annotations.Value.updateAction

JDO Annotation Attribute in javax.jdo.annotations.Value ForeignKeyAction updateAction default ForeignKeyAction.UNSPECIFIED Update action to apply to any foreign key for the value. Since: JDO 2.1