Release Notes for CDO R20130613-1157

These release notes have been generated from the commit log of the 4.2 stream and the associated bugzillas.
The first commit is a9bbe022dff89e1ff5ad5c65420a4bf88b37f40b in the master branch.
The last commit is c931e969ea8971afefc867bd3a0a223537799fe9 in the master branch.
This is the first build of the 4.2 stream.

Table of Contents

CDO Model Repository (Core)

Enhancements

enhancement [246687] Enforce additional constraints on containment (CDOResource)    resolved-fixed in 4.2
enhancement [299275] Flexible Approach for an Authentication Mechanism    resolved-fixed in 4.2
enhancement [323792] Provide CDO-based TransactionalEditingDomain    new in 4.2
enhancement [362982] Add CDOTextResource and CDOBinaryResource    resolved-fixed in 4.2
enhancement [369359] Improve performance of QueryRequest/Indication    resolved-fixed in 4.2
enhancement [370181] Make the lock timeouts in TransactionCommitContext.lockObjects() configurable    resolved-fixed in 4.2
enhancement [380629] Design a default Security model    resolved-fixed in 4.2
enhancement [384535] Develop Lucene-based IStore    assigned in 4.2
enhancement [385325] CDOResourceFolderItemProvider.getParent(Object) should be moved up to CDOResourceNodeItemProvider    resolved-fixed in 4.2
enhancement [386413] Add option to serialize commits    resolved-fixed in 4.2
enhancement [386536] Transmit detached versions during commit    resolved-fixed in 4.2
enhancement [388616] Add "encoding" attribute to CDOTextResource    resolved-fixed in 4.2
enhancement [388721] Add CDOResourceImpl.getEObjectByID(String)    resolved-fixed in 4.2
enhancement [388723] Add EMFUtil.getPositionalURI(InternalEObject)    resolved-fixed in 4.2
enhancement [388928] Develop a resource transfer framework    resolved-fixed in 4.2
enhancement [389231] Don't load all resource contents for remove(int)    resolved-fixed in 4.2
enhancement [389665] Cache path->resourceNodeID mappings in AbstractCDOView    resolved-fixed in 4.2
enhancement [389694] Relax view options (CDOInvalidationPolicy and CDOStaleReferencePolicy)    resolved-fixed in 4.2
enhancement [390169] Provide a central registry for open CDOViews    resolved-fixed in 4.2
enhancement [390684] Add exception handler to IRepositorySynchronizer    resolved-fixed in 4.2
enhancement [390804] Support external targets in CDOView.queryXRefs()    resolved-fixed in 4.2
enhancement [390808] Integrate CDO with EMF Compare    resolved-fixed in 4.2
enhancement [391256] Support CDOSession.getUserID() even for repositories without IUserManager    resolved-fixed in 4.2
enhancement [391257] Provide a CDOTransactionCommentator that automatically appends a change summary to commit comments    resolved-fixed in 4.2
enhancement [391295] Call CDOCommitInfoHandlers from CDOCommitInfoManager    resolved-fixed in 4.2
enhancement [391312] Provide per-CDOObject histories    resolved-fixed in 4.2
enhancement [391320] Weakly cache and intern() client-side CDOCommitInfos    resolved-fixed in 4.2
enhancement [392503] Provide a convenient CDODirtyStateAdapter    resolved-fixed in 4.2
enhancement [393910] Stabilize state management in SynchronizableRepositories    resolved-fixed in 4.2
enhancement [393911] Create a complete offline and fail-over example suite    resolved-fixed in 4.2
enhancement [395929] Add waitWhileLoading(long timeout) to CDOCommitHistory    resolved-fixed in 4.2
enhancement [396818] Add EMF Compare merge support    resolved-fixed in 4.2
enhancement [397405] Checking for unresolved proxies in annotations is unnecessary and bad for UML profiles    resolved-fixed in 4.2
enhancement [397821] Expose CDOCommitInfoManager publicly in IRepository    resolved-fixed in 4.2
enhancement [399156] Provide a security realm to ICredentialsProvider implementors    resolved-fixed in 4.2
enhancement [399159] Various enhancements to the security manager    resolved-fixed in 4.2
enhancement [400387] Optimize the storage of view, state, id and revision per CDOObject    resolved-fixed in 4.2
enhancement [400388] Integrate the new MinimalEStoreEObjectImpl    resolved-fixed in 4.2
enhancement [400389] Eliminate CDOObjectImpl.cdoSettings    assigned in 4.2
enhancement [400892] Intern all CDOIDs    resolved-fixed in 4.2
enhancement [400926] Move plugins that depend on EMF Compare to an independent and optional feature    resolved-fixed in 4.2
enhancement [401172] [Security] Support permissions on objects    resolved-fixed in 4.2
enhancement [401397] Optimize CDOModelUtil    resolved-fixed in 4.2
enhancement [403125] Support FeatureFilter in CDOCompareUtil    resolved-fixed in 4.2
enhancement [403516] Provide EMF Comparisons for the uncommitted changes of a CDOTransaction    resolved-fixed in 4.2
enhancement [409574] Provide a meaningful CommitException hierarchy    resolved-fixed in 4.2

Bug Fixes

major [324544] IndexOutOfBoundsException on sending delta notifications    resolved-fixed in 4.2
major [376610] ClassCastException on removeAll on Enum attribute    resolved-fixed in 4.1
major [383063] "EFS TEST" action contributed everywhere    closed-fixed in 4.1
major [385268] Reattachment issue with EOpposite    resolved-fixed in 4.1
normal [267352] NullPointerException on reload    closed-fixed in 2.0
normal [315026] Local rollback inadvertently brings in updates from other sessions    resolved-fixed in 4.2
normal [325866] IllegalStateException when committing a reattached containment of a detached container after branch merge with XRef enabled    resolved-fixed in 4.2
normal [334744] Contract of CDOConflictResolver2 not met    resolved-fixed in 4.2
normal [340709] Adapter notification from CDOViewImpl.doInvalidate() can cause deadlock in rare situations    resolved-worksforme in 4.2
normal [341469] Make CDOMergingConflictResolver stable    assigned in 4.2
normal [343417] Invalid type: org.eclipse.emf.cdo.common.revision.CDORevisionUtil$Uninitialized    resolved-fixed in 4.2
normal [347964] Deleting an object from a resource by index    resolved-fixed in 4.2
normal [350987] Revision compare does not consider EObject values in references    resolved-fixed in 4.2
normal [353448] Attempt to Modify Historical Revision    resolved-fixed in 4.2
normal [362270] CDODeltaNotification.getNewValue() returns a CDOIDExternal instead of the EObject from the containing XMIResource    resolved-fixed in 4.0
normal [368331] CDOStateMachine.detach() is not robust against sideeffects of process() call    resolved-worksforme in 4.2
normal [376620] IllegalStateException on CDODeltaNotification.getNewBooleanValue()    resolved-fixed in 4.2
normal [382938] NPE on commit    closed-fixed in 4.1
normal [383292] Thread names missing, thread management.    closed-fixed in 4.1
normal [383370] Problem with resource after transaction rollback    closed-fixed in 4.1
normal [383379] CDOQuery / SessionManager memory leak?    closed-fixed in 4.1
normal [383602] Branch with base after the last finished commit can be created    resolved-fixed in 4.2
normal [384454] CDO Workspace. On commit 'Change set is outdated'    resolved-fixed in 4.1
normal [384496] Delta Notification gives wrong position (-1) when list feature item is set    resolved-fixed in 4.1
normal [386793] Locking bug in RWOLockManager    resolved-fixed in 4.2
normal [386989] Nested generic types can't be committed    resolved-fixed in 4.2
normal [389525] Concurrent Access to Models Rollback / Conflict Resolution Exceptions    resolved-fixed in 4.2
normal [390185] Deadlock on multiple concurrent transactions    resolved-fixed in 4.2
normal [390908] NPE when requesting an EObject from a different view that is TRANSIENT    resolved-fixed in 4.2
normal [391286] Preferences of org.eclipse.emf.cdo are not loaded/saved    resolved-fixed in 4.2
normal [391293] Committing a non-dirty transaction persists and broadcasts CDOCommitInfos    resolved-fixed in 4.2
normal [391296] CDOCommitInfoImpl always appears non-empty    resolved-fixed in 4.2
normal [391309] RepositorySynchronizer silently fails to cast a TimerTask to Comparable    resolved-fixed in 4.2
normal [393011] [Tests] SessionConfig removes statically registered packages from global registry    resolved-fixed in 4.2
normal [393338] UnsupportedOperationException from TransactionCommitContext$TransactionPackageRegistry.values()    resolved-fixed in 4.2
normal [393958] InvalidateTransition creates wrong revision during branch switch    resolved-fixed in 4.2
normal [394049] Master/Clone examples don't work any more    resolved-fixed in 4.2
normal [394555] CDOAdmin - NullPointerException on Server side using TCP connector    resolved-fixed in 4.1
normal [395736] ClassCastException when removing one entry from the model    resolved-fixed in 4.2
normal [395999] ResourceSet.getResource(URI,true) fails when called several times    reopened in 4.2
normal [396170] CDOResource does not works with XtextResourceSet    resolved-fixed in 4.2
normal [396173] UnsupportedOperationException at ...GrowingRandomAccessList.add(...)    resolved-fixed in 4.2
normal [396181] Conflict using Object from committed Transaction    resolved-worksforme in 4.2
normal [396804] CDOMergingConflictResolver tests    assigned in 4.2
normal [396819] CommitHistoryComposite does not call commitInfoChanged()    resolved-fixed in 4.2
normal [397232] Load notification missing for initial load    resolved-fixed in 4.2
normal [397948] UnsupportedOperationException CDOQueryResultIteratorImpl$QueryResultList.contains(CDOQueryResultIteratorImpl.java:204)    resolved-fixed in 4.2
normal [398020] UnsupportedOperationException during OpenSessionIndication    resolved-fixed in 4.2
normal [399153] CDOEditPlugin.CDOEditPlugin() uses uninitialized constant    resolved-fixed in 4.2
normal [399155] Resource and XRef queries are not robust against closed views    resolved-fixed in 4.2
normal [399279] Cannot remove CDOViewSet from ResourceSet's adapter list    resolved-fixed in 4.2
normal [400128] LifecycleException "Not Active: Transaction X"    resolved-fixed in 4.2
normal [400762] OCLQueryHandler does not consider subtypes    resolved-fixed in 4.2
normal [402142] LockState unsychronized after lock/unlock    resolved-fixed in 4.2
normal [402371] CDOCompareUtil.compare fails with models that use Containment Proxies    resolved-fixed in 4.2
normal [402636] Net4jConnectorInjector is missing from CDONet4jUtil.prepareContainer()    resolved-fixed in 4.2
normal [402670] NPE on Rollback after changing a boolean value    resolved-fixed in 4.2
normal [404318] DynamicCDOObjects throw NPEs when their Ecore models are unloaded    resolved-fixed in 4.2
normal [405084] NoSuchMethodError: org.eclipse.emf.compare.EMFCompare$Builder.setMatchEngine()    resolved-fixed in 4.2
normal [405191] NIL value not committed for unsettable attribute    resolved-fixed in 4.2
normal [405400] resourcePathCache in AbstractCDOView not cleared in some situations    resolved-fixed in 4.2
normal [405761] InvalidationRunner threads are sometimes not properly stopped    resolved-fixed in 4.2
normal [405774] Memory leak through TimerTasks    resolved-fixed in 4.2
normal [405781] CDOPackageInfos can hold on deactivated TransactionPackageRegistries    resolved-fixed in 4.2
normal [405850] CDORevision.get(feature, -1) should throw an IndexOutOfBoundsException for many-valued features    resolved-fixed in 4.2
normal [405852] Memory leak in CDOCommitInfoManagerImpl.cache    resolved-fixed in 4.2
normal [406068] Memory leak through CDOPackageInfo adapters on EPackages    resolved-fixed in 4.2
normal [408534] CDO should return moved object instead of CDOID, for EMF Move command    resolved-fixed in 4.2
normal [408615] CCE in CDOObjectImpl.isSet    resolved-fixed in 4.2
normal [409284] Containment cycles can still occur    resolved-fixed in 4.2
normal [409287] ArrayIndexOutOfBoundsException on rollback    resolved-fixed in 4.2
normal [409549] Wrong branch manager is used in SynchronizableRepository.handleCommitInfo()    resolved-fixed in 4.2
normal [410409] CDOClientIndications can arrive before session is fully active    resolved-fixed in 4.2
minor [409057] CDOIDs are missing default constructors for (Hessian) deserialization    resolved-fixed in 4.2
minor [409062] ObjectNotFoundException.branchPoint might not serialize properly    resolved-fixed in 4.2

CDO Model Repository (Legacy Mode)

Enhancements

enhancement [392956] [Legacy] Support partial/conditional persistence of features    resolved-fixed in 4.2
enhancement [403661] [Legacy] Make legacy mode non-optional    resolved-fixed in 4.2

Bug Fixes

major [378620] [Legacy] ClassCast when accessing a Custom Datatype typed attribute    resolved-fixed in 4.2
major [403681] [Legacy] Regression in persistence of Ecore models (e.g., in UML Profiles)    resolved-fixed in 4.2
normal [363661] [Legacy] ETypes of EStructuralFeatures in Ecore Models are not persisted    resolved-fixed in 4.2
normal [369253] [Legacy] Issues with non-containment opposite references in legacy mode    resolved-fixed in 4.2
normal [381395] [Legacy] NPE when removing an adapter after CDO view closed    resolved-fixed in 4.2
normal [393012] [Legacy] Support registered dynamic packages in UML Profiles    resolved-fixed in 4.2
normal [393164] [Legacy] Models that depend on Resource.Internal.isLoading() don't work in CDOResource    resolved-fixed in 4.2
normal [397629] [Legacy] Objects not attached to their resources when resolving cross-resource references    resolved-fixed in 4.2
normal [397822] [Legacy] REMOVE_MANY events are not transferred correctly to CDORevision    resolved-fixed in 4.2
normal [400236] [Legacy] ClassCastException on CDOLegacyWrapper when native reference legacy    resolved-fixed in 4.2
normal [404152] [Legacy] A String feature with an empty String for default value can't be set as null    resolved-invalid in 4.2
normal [405257] [Legacy] NIL value not committed for unsettable attribute    resolved-fixed in 4.2

CDO Model Repository (User Interface)

Enhancements

enhancement [256624] [UI] Create a Commit History ViewPart    resolved-fixed in 4.2
enhancement [388567] [UI] Support CDOTextResource and CDOBinaryResource in the generic UI    resolved-fixed in 4.2
enhancement [391503] [UI] Render a CDOCommitInfo graph into the history page    resolved-fixed in 4.2
enhancement [393744] [UI] Factor IDE dependencies out of org.eclipse.emf.cdo.ui    resolved-fixed in 4.2
enhancement [402366] [UI] CommitHistoryComposite should allow customization    resolved-fixed in 4.2
enhancement [402367] [UI] CommitHistoryComposite should allow to compare two historic states    resolved-fixed in 4.2

Bug Fixes

normal [394027] [UI] CDOViews don't update their children on invalidations    resolved-fixed in 4.2
normal [394629] [UI] org.eclipse.emf.cdo.ui.compare will not compile against the next EMF Compare integration    resolved-fixed in 4.2
normal [399157] [UI] LifecycleException during async TreeViewer refresh    resolved-fixed in 4.2
normal [405423] [UI] NPE in org.eclipse.emf.cdo.internal.ui.history.Net.getOrCreateSegment()    resolved-fixed in 4.2

CDO Model Repository (JDBC Support)

Enhancements

enhancement [344232] [DB] CDODBSchema uses "size" as an column name which is a keyword    resolved-fixed in 4.2
enhancement [344233] [DB] Get Max VARCHAR size from DBAdapter    resolved-fixed in 4.2
enhancement [355787] [DB] Complete core mappings for Ecore data types    resolved-fixed in 4.2
enhancement [386289] [DB] DBStoreAccessor pooling strategy    resolved-fixed in 4.2
enhancement [396379] [DB] Length of ID column should be configurable    resolved-fixed in 4.2
enhancement [397318] [DB] Work around a bug in H2 that trims a space from CHAR(1)    resolved-fixed in 4.2
enhancement [405343] [DB] Automatically determine whether Ecore must be mapped    resolved-fixed in 4.2
enhancement [408479] [DB] Provide the concept of a ColumnTypeModifier to influence ITypeMappings    resolved-fixed in 4.2

Bug Fixes

critical [382868] [DB] Problem with Date parameter in CDOQuery    assigned in 4.2
critical [383194] [DB] Set driver type in cdo-server.xml throws ClassCastException    closed-fixed in 4.1
major [396743] [DB] List size column mismatching the row entries    resolved-fixed in 4.2
normal [323006] [DB] Various PostgreSQL test failures    resolved-fixed in 4.2
normal [344669] [DB] Crash detection fails when using Oracle JDBC    resolved-fixed in 4.2
normal [350137] [DB] [PostgreSQL] Exception when persisting EChar attribute with default '\u0000' value    resolved-fixed in 4.2
normal [357469] [DB] NPE in DBStoreAccessor.detachObjects    new in 4.2
normal [364105] [DB] ImplementationError: "SELECT ..." already in cache    resolved-fixed in 4.2
normal [364809] [DB] Store with Postgres fail to recover from crash    resolved-fixed in 4.2
normal [370105] [DB] CommitException: SELECT-statement already in cache    resolved-fixed in 4.2
normal [390283] [DB] Incorrect handling of operations on unordered ELists    resolved-fixed in 4.2
normal [393111] [DB] Oracle SQL doesn't allow "AS" keyword for table alias    resolved-fixed in 4.2
normal [393114] [DB] ClassCastException when starting CDO Server recovering from crash, with Oracle DB    resolved-fixed in 4.2
normal [394213] [DB] Postgres fails to create table when the database starts empty    resolved-fixed in 4.2
normal [401763] [DB] Make CDO Server more robust against data dictionary changes    resolved-fixed in 4.1
normal [404047] [DB] Migration from 4.1 to 4.2 failed    resolved-fixed in 4.2
normal [405345] [DB] DBUtil.deserializeTable - Out of Memory    resolved-fixed in 4.2
normal [405924] [DB] Oracle null index field name    resolved-fixed in 4.2
normal [406766] [DB] CDOServer throws "The object is already closed [90007-168]" errors with H2-DB    resolved-fixed in 4.2
normal [407256] [DB] Change the server configuration file (cdo-server.xml) for Oracle DB    resolved-fixed in 4.2
minor [351068] [DB] Consider deleting old revisions when audits disabled    resolved-fixed in 4.2

CDO Model Repository (Hibernate Support)

Enhancements

enhancement [244141] [Hibernate] Store to support auditing mode    closed-fixed in 4.2
enhancement [393665] [Hibernate] seemingly unrelated select statements executed    new in 4.1

Bug Fixes

normal [390167] [Hibernate] Include org.eclipse.emf.cdo.examples.hibernate.log4j in hibernate examples feature    resolved-fixed in 4.2

CDO Dawn

Enhancements

enhancement [403710] [Dawn] Adjust to breaking changes in Graphiti 0.10.0    resolved-fixed in 4.2

Bug Fixes

major [404043] [Dawn] Dawn Explorer does not show resources in the view    resolved-fixed in 4.2
normal [397780] [Dawn] Deadlock guaranteed when committing from CDO Sessions view    resolved-wontfix in 4.2
normal [399285] [Dawn] GMF editor support assumes that IDawnEditor is a DiagramDocumentEditor    resolved-fixed in 4.1
normal [399733] [Dawn] DawnDiagramUpdater doesn't handle diagrams having UML CacheAdapter attached    resolved-fixed in 4.1
normal [399933] [Dawn] Ecore model wizard crash    resolved-fixed in 4.2
normal [404184] [Dawn] NPE in DawnConflictHelper on View that has no element    resolved-fixed in 4.2

Net4j Signalling Platform and Utilities

Enhancements

enhancement [259086] Protocol versions should be checked    resolved-fixed in 4.2
enhancement [391294] Provide a ShareableLifecycle    resolved-fixed in 4.2
enhancement [391308] Provide a PriorityQueueRunner    resolved-fixed in 4.2
enhancement [400911] Utility for interning instances efficiently    resolved-fixed in 4.2

Bug Fixes

critical [395544] IOUtil.copyBinary() bug    resolved-fixed in 4.2
normal [383421] ConcurrentModificationException in SetContainer.clear()    closed-fixed in 4.1
normal [387774] CDO threads prevent JVM to exit on client side standalone    resolved-fixed in 4.1
normal [389874] Use Introspector.decapitalize() in ReflectUtil.instantiate()    resolved-fixed in 4.2
normal [398584] GrowingRandomAccessList accidentally implements Deque<E> from Java 1.6    resolved-fixed in 4.2
normal [398593] BufferUtil accidentally uses Java 1.6 methods internally    resolved-fixed in 4.2
normal [399641] Net4jSessionFactory gets credentials provider from wrong container    resolved-fixed in 4.2
normal [410444] SocketChannel is considered closed if buffer can't be filled    resolved-fixed in 4.2
normal [410446] FailOverMonitor might not deactivate properly    resolved-fixed in 4.2
minor [392815] Deactivating and activating ManagedContainer again throws NPE    resolved-fixed in 4.2

Net4j DB Framework

Enhancements

enhancement [270428] [DB] Provide Oracle RDBMS integration    resolved-fixed in 4.2
enhancement [344805] [DB] Add new type mapping: Boolean from VARCHAR    resolved-wontfix in 4.2
enhancement [393830] [DB] Rename OracleSQLAdapter to OracleAdapter    resolved-fixed in 4.2
enhancement [398167] [DB] Remove JDBC driver dependencies from DBAdapter bundles    resolved-fixed in 4.2

Bug Fixes

blocker [394047] [DB] During CDO Schema Migration a SQL exception occurs when using Oracle DB - ORA-00942: table or view does not exist    resolved-fixed in 4.2
critical [407254] [DB] Error while creating the DB structure for Oracle 11g    resolved-fixed in 4.2
major [407358] [DB] Error while creating the DB first time: inserting elements (Oracle 11g)    resolved-fixed in 4.2
major [407671] [DB] Java 1.6 API usage in org.eclipse.net4j.db    resolved-fixed in 4.2
major [408194] [DB] Too large memory alloc request in DBAdapter.readFields()    resolved-fixed in 4.1
normal [369632] [DB] Wrong conversion to Long and Integer    resolved-fixed in 4.2
normal [393917] [DB] change Boolean mapping to use a NUMBER type in Oracle DB    resolved-fixed in 4.2
normal [394633] [DB] Postgres truncates table/indexes names to 64 characters    resolved-fixed in 4.2
normal [404590] [DB] PostgreSQL port is not taken into account when start CDO Server    resolved-fixed in 4.2
normal [405131] [DB] Launching Servers with HSQLDB or Derby back-ends lead to issue in CDO 4.2    resolved-fixed in 4.0

Documentation

Bug Fixes

normal [388203] Problems when working with CDO Master Server Example    resolved-fixed in 4.2

Release Engineering

Enhancements

enhancement [382225] [Releng] Provide CDO example installers    resolved-fixed in 4.2
enhancement [382815] [Releng] Release 4.1    closed-fixed in 4.2
enhancement [391874] [Releng] Generate API reports during Hudson build    new in 4.2
enhancement [397541] [Releng] Automate generation of test models    resolved-fixed in 4.2
enhancement [403445] [Releng] Use Execution Environments descriptions to avoid illegal references to system libraries    resolved-fixed in 4.2
enhancement [405284] [Releng] Add a legacy test config to the automated builds    resolved-fixed in 4.2
enhancement [405933] [Releng] Remove DB dependencies from cdo.tests    resolved-fixed in 4.2

This is the first build of the 4.2 stream.