There have been a number of breaking changes associated with the removal of EQL3 metadata and EQL2
metadata, therefore TG applications need to be adjusted accordingly.
Metadata:
EQL3 and EQL2 metadata have been removed and their usages replaced by Typeful Metadata
Stricter validation of property definitions during metadata generation: unsupported property types
are detected early (in some cases an unsupported type is shown mercy and corresponding property is
simply skipped).
Changes to Property Metadata:
Properties with a composite or a union entity type are classified according to their nature in
the same way as other properties. This hadn't been the case with EQL3 metadata, which ignored
the nature of such properties, instead forcing the caller to look at their sub-properties for
this information.
Other changes:
Value range validation (from-to) is now supported for BigDecimal.
All generated proxy entity types now implement IProxyEntity.
Generated ID-only proxy entity types now implement IIdOnlyProxyEntity.
Test entity types were modified by replacing unsupported property types with supported ones (e.g.,
Double by BigDecimal).
Future work
Encapsulate Hibernate type access in a standalone service. It should have the following API:
Resolve #2258, #2091.
This PR should be merged together with https://github.com/fieldenms/tglib-testing/pull/2.
Summary of changes
There have been a number of breaking changes associated with the removal of EQL3 metadata and EQL2 metadata, therefore TG applications need to be adjusted accordingly.
Metadata:
Other changes:
BigDecimal
.IProxyEntity
.IIdOnlyProxyEntity
.Double
byBigDecimal
).Future work
Encapsulate Hibernate type access in a standalone service. It should have the following API:
Encapsulate EqlTable access in a standalone service. It should have the following API:
Encapsulate TableStructForBatchInsertion access in a standalone service. It should have the following API:
Encapsulate database DDL generation in a standalone service. It should have the following API:
IDomainMetadata
fromQuerySourceInfoProvider
.