[SOLVED][CDO] - Migrating from 4.6 to 4.10 - IllegalStateException type mapping EFeatureMapEntry [message #1835980] |
Thu, 17 December 2020 16:23 |
Philippe EUGENE Messages: 61 Registered: January 2011 |
Member |
|
|
In my EMF model i have an EAttribute with type EFeatureMapEntry
In 4.6, the mapping is correct.
CDO created a db table as is :
Quote:
CDO_SOURCE BIGINT
CDO_VERSION INTEGER
CDO_IDX INTEGER
CDO_FEATURE BIGINT
CDO_VALUE_SMALLINT SMALLINT
CDO_VALUE_BIGINT BIGINT
CDO_VALUE_LONGVARCHAR VARCHAR
CDO_VALUE_VARCHAR VARCHAR
CDO_VALUE_CLOB CLOB
CDO_VALUE_BOOLEAN BOOLEAN
CDO_VALUE_BLOB BLOB
CDO_VALUE_DATE DATE
CDO_VALUE_VARBINARY BLOB
CDO_VALUE_CHAR CHAR
CDO_VALUE_FLOAT REAL
CDO_VALUE_TIMESTAMP TIMESTAMP
CDO_VALUE_INTEGER INTEGER
CDO_VALUE_TIME TIME
CDO_VALUE_DOUBLE DOUBLE
In CDO 4.10, the EAttribute is passed in the method TypeMappingRegistry#createTypeMapping().
In this method an exception occured :
Quote:
java.lang.IllegalStateException: No type mapping factory found for DocumentRoot.mixed: ecore.EFeatureMapEntry --> DBType.VARCHAR
In version 4.6, the same EAttribute is nerver passed to TypeMappingRegistry#createTypeMapping().
Thanks for reply,
--
Philippe
[Updated on: Fri, 18 December 2020 09:19] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03819 seconds