Issue list in version 1.1

Issue list in version 1.1

Postby gwihen » Thu 14 Aug 2014 16:21

EntityDeveloper allows two entity classes with the same name to lie in the model:
both tables NAME_LIST and NAMELIST produce without problem the TNameList class.

EntityDeveloper allows table column called TYPE to be mapped to Delphi property Type.
EntityDeveloper allows table column called PROPERTY to be mapped to Delphi property Property.

Column names containing non ASCII 128 characters raise problems.

SDO_GEOMETRY fields are mapped to "TObjectData" properties. Delphi compiler complains that TObjectData is an unknown identifier.

When a table called XX has a column called XX, table XX is mapped to class TXXTable, but in constructor TXXMetaType.Create(AModel: ...) we have
inherited Create(AModel, AModel.DBXX, 'XX', TXX);
instead of
inherited Create(AModel, AModel.DBXX, 'XX', TXXTable);
gwihen
 
Posts: 4
Joined: Tue 07 Aug 2012 15:50

Re: Issue list in version 1.1

Postby ZEuS » Fri 15 Aug 2014 08:41

Thank you for the information.
1. The error of generating classes with the same name will be fixed in the next EntityDAC build.
2. The error of generating properties with names equal to Delphi reserved words will be fixed in the next EntityDAC build.
3. The error with column names containing the non-ASCII characters will be fixed in the next EntityDAC build. For now, to avoid the compilation error, you may try to open the XXMetaData.pas and XXClasses.pas units in IDE and re-save them.
4. The TObjectData type is not supported yet. We will implement it in future releases. For now, you may change the property type to Blob, for example.
5. There is no error in the TXXMetaType.Create constructor. The inherited constructor looks as the following:
Code: Select all
constructor TMappedMetaType.Create(AModel: TMetaModel; ATable: TMetaTable; const AName: string; AEntityClass: TClass);

and its last parameter has to be an entity class, not a table class.
ZEuS
Devart Team
 
Posts: 235
Joined: Thu 05 Apr 2012 07:32


Return to EntityDAC