Internal Website Search

101-150 of 200 results

Dirty checking

Hi, wondering if anyone knows the best way to detect which objects have been changed in ... ) some config settings to track changes to collections, e.g: http://www.objectdb.com/java/jpa/setting ... : Ideally I'd like to capture all objects that were changed after a commit, i.e: after the transaction

Updating Entities

() from my PaygradeModify class - the change to the Paygrade is not shown when I go to view my Employee ... .setTable(); } else {Main.showErrorDialog();} } However, it is worth noting that the changes ... is loaded: all content is displayed accurately. However, once a change has been made to paygradeDB

openejb jpa jaas module

.*; /** * Created with IntelliJ IDEA. * User: apple * Date: 31.01.2013 * Time: 06:01 * To change this template ... , Map options) { //To change body of implemented methods use File | Settings | File Templates. // TODO ... false; } } } catch (Exception e) { e.printStackTrace(); //To change body of catch statement use

Entity Update - Is the documentation up to date?

transaction.  If I subsequently begin and commit a transaction, all my changes seem to be merged ... the elements of that array without calling JDOHelper.makeDirty.  These changes are also automatically ... and commit a transaction, all my changes seem to be merged automatically. The more conventional way

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

a primary key of a managed object", but my application is not trying to change the primary key.  ... changed , just ObjectDB.) CBE CBE (P.S.  When I submitted the forum post, I received an ObjectDB ... image that shows the error is attached.) CBE CBE This is probably caused by a change in version 2.7

Exception after update of indices of Entity class

Hello, I changed the index definition of an entity class from @Index()... to @Indices() and now I ... build. Could you please try opening the database after the index change with the most recent ... ) Best regards doppelrittberger Markus Ritter Thanks. Changing from  @Index() ... to @Indices

javax.persistence.criteria.Selection

cannot be changed or reassigned. Returns the same selection item. Parameters: name - alias Return

EntityTransaction.commit() - JPA Method

JPA Method in javax.persistence.EntityTransaction void commit () Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if isActive() is false RollbackException - if the commit fails Since: JPA 1.0

javax.persistence.EntityTransaction

changes to the database. Throws: IllegalStateException - if isActive() is false RollbackException

javax.persistence.criteria.CompoundSelection

) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned

Expression.as(type) - JPA Method

JPA Method in javax.persistence.criteria.Expression Expression as (   Class  type ) Perform a typecast upon the expression, returning a new expression object. This method does not cause type conversion: the runtime type is not changed . Warning: may result in a runtime failure

EntityManager.detach(entity) - JPA Method

JPA Method in javax.persistence.EntityManager void detach (   Object entity ) Remove the given entity from the persistence context, causing a managed entity to become detached. Unflushed changes made to the entity if any (including removal of the entity), will not be synchronized

EntityManager.clear() - JPA Method

JPA Method in javax.persistence.EntityManager void clear () Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not be persisted. Since: JPA 1.0

EntityManager.refresh(entity,lockMode,properties) - JPA Method

JPA Method in javax.persistence.EntityManager void refresh (   Object entity,     LockModeType  lockMode,    Map  properties ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock

javax.persistence.criteria.Expression

conversion: the runtime type is not changed . Warning: may result in a runtime failure. Parameters

javax.persistence.criteria.ParameterExpression

type is not changed . Warning: may result in a runtime failure. Parameters: type - intended type

EntityManager.refresh(entity,lockMode) - JPA Method

JPA Method in javax.persistence.EntityManager void refresh (   Object entity,     LockModeType  lockMode ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type

EntityManager.refresh(entity,properties) - JPA Method

JPA Method in javax.persistence.EntityManager void refresh (   Object entity,    Map  properties ) Refresh the state of the instance from the database, using the specified properties, and overwriting changes made to the entity, if any. If a vendor-specific

EntityManager.refresh(entity) - JPA Method

JPA Method in javax.persistence.EntityManager void refresh (   Object entity ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not

javax.persistence.criteria.CriteriaBuilder$Coalesce

is not changed . Warning: may result in a runtime failure. Parameters: type - intended type

javax.persistence.criteria.Subquery

is not changed . Warning: may result in a runtime failure. Parameters: type - intended type

Selection.alias(name) - JPA Method

JPA Method in javax.persistence.criteria.Selection Selection alias (   String name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Parameters: name - alias Return: selection item Since: JPA 2.0

each 1-2 days objects on some objectdb level lock/block each other

each 1-2 days we have the situation that our system changes to a completely underperforming mode ... it is not a deadlock but a very short lock that is not expected to cause issues. The change in ... ? Anything that was changed recently (including usage volume)?  support Support - CPU Usage (24 cores

Removed entities can be found by query in the same transaction

the database and the change was flushed but not committed yet then the database maintains ... ._04 but not in 2.7.4_03? In that case we can investigate the exact changes between these two builds ... issues. We will check. support Support We may have to reverse the changes of build 2.7.4_04

missing merger

that need to save changes to objects are not working any more We’ll try to download the corrupt database ... Aerospace changed to a desaster mode regarding our product Sorry but we still cannot post in ... the log? Have you restarted the system after it happened? Did it change anything? support Support

boolean field flips after schema update (in class) of another field

change . This is a serious issue because the related fields were not touched (no change of name or anything) and values in the database changed . We did not have this in our testing and stating ... had many previous schema evolution changes (you might have a longer history of schema changes in

PersistenceManager.getObjectById(oid,validate) - JDO Method

it. There is no change made to the state of the returned instance. If there is not an instance already in ... returns it. There is no change made to the state of the returned instance. If there is an instance

javax.jdo.listener.DirtyLifecycleListener

after the value is changed . Since: JDO 2.0 void preDirty ( InstanceLifecycleEvent  event) Invoked ... of a persistent or transactional field. Called before the value is changed . Since: JDO 2.0

FetchPlan.getGroups() - JDO Method

JDO Method in javax.jdo.FetchPlan Set getGroups () Return an immutable Set containing the names of all active fetch groups. The Set is a copy of the currently active groups and will not change based on subsequent changes to the groups. Return: an immutable Set containing the names of all currently active fetch groups Since: JDO 2.0

PersistenceCapable.jdoReplaceStateManager(sm) - JDO Method

, and the StateManager approves the change , then the jdoFlags field will be reset to READ_WRITE_OK. If the parameter is not null, and the security manager approves the change , then the jdoFlags field will be reset to LOAD

PersistenceCapable.jdoGetTransactionalObjectId() - JDO Method

if the identity of the instance has not changed in the current transaction. If the JDO identity is being changed in the transaction, this method returns the current object id as modified in the current

javax.jdo.FetchPlan

and will not change based on subsequent changes to the groups. Return: an immutable Set containing the names

PersistenceManagerFactory.setCopyOnAttach(flag) - JDO Method

directly and change their state from detached-clean to persistent-clean or from detached-dirty

javax.jdo.annotations.Unique

JDO Annotation Unique Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for a database unique constraint. Used for database schema generation to create unique constraints. Also used to reorder database operations when flushing changes

javax.jdo.PersistenceManagerFactory

, detached parameter instances are attached directly and change their state from detached-clean to persistent

PersistenceManager.retrieveAll(useFetchPlan,pcs) - JDO Method

the implementation. If the useFetchPlan parameter is true, and the fetch plan has been changed from

PersistenceManager.setCopyOnAttach(flag) - JDO Method

instances are attached directly and change their state from detached-clean to persistent-clean or from

StateManager.getObjectId(pc) - JDO Method

JDO Method in javax.jdo.spi.StateManager Object getObjectId (   PersistenceCapable pc ) Return the object representing the JDO identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the identity as of the beginning

Query.deletePersistentAll() - JDO Method

changes as if deletePersistent were called on them. Specifically, if the class of deleted instances

Query.setIgnoreCache(ignoreCache) - JDO Method

to true , an implementation might be able to optimize the query execution by ignoring changed values in

PersistenceManager.makeTransactional(pc) - JDO Method

is restored to the state before the first change in the transaction. For persistent instances read in

javax.jdo.listener.StoreCallback

should be updated in this method. This method is modified by the enhancer so that changes to persistent

StoreCallback.jdoPreStore() - JDO Method

so that changes to persistent fields will be reflected in the data store. The context in

PersistenceManager.retrieveAll(pcs,useFetchPlan) - JDO Method

the implementation. If the useFetchPlan parameter is true, and the fetch plan has been changed from

PersistenceManager.retrieveAll(pcs,useFetchPlan) - JDO Method

the implementation. If the useFetchPlan parameter is true, and the fetch plan has been changed from

PersistenceManager.retrieve(pc,useFetchPlan) - JDO Method

is true, and the fetch plan has been changed from its default setting, then the fields specified by

DirtyLifecycleListener.postDirty(event) - JDO Method

JDO Method in javax.jdo.listener.DirtyLifecycleListener void postDirty (    InstanceLifecycleEvent  event ) Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called after the value is changed . Since: JDO 2.0

DirtyLifecycleListener.preDirty(event) - JDO Method

JDO Method in javax.jdo.listener.DirtyLifecycleListener void preDirty (    InstanceLifecycleEvent  event ) Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called before the value is changed . Since: JDO 2.0

StateManager.replacingStateManager(pc,sm) - JDO Method

that the owning StateManager is the only source of any change to its reference in the PersistenceCapable

PersistenceCapable.jdoGetObjectId() - JDO Method

is being changed in the transaction, this method returns the object id as of the beginning of the current