Telosys news
WebsiteTwitterLinkedInDocumentation
  • Telosys news
  • Version 4.2.0 (2024-November)
  • Version 4.1.1 (2024-January)
  • Version 4.1.0 (2023-August)
    • Model
    • Templates
    • Target languages
    • Model from database
    • Telosys-CLI
  • Version 4.0.0 (2022-April)
  • Version 3.3.0 (2021-July )
    • DSL model annotations
    • DSL model "Tags"
    • Templates features
    • Templates objects
Powered by GitBook
On this page
  • New annotations
  • Modified annotations
  • Model objects in template context
  1. Version 4.1.0 (2023-August)

Model

New annotations

  • @JoinEntity (for entity) : to explicitly define a 'join entity' (for ORM)

  • @Cascade (for link) : for ORM cascade management (MERGE, REMOVE, etc)

  • @OrphanRemoval (for link) : for ORM like JPA, Doctrine, etc

Modified annotations

  • @AutoIncremented : this annotation is now just a shortcut for 'GeneratedValue(IDENTITY)'

  • @GeneratedValue : the parameters are different and simpler

Model objects in template context

  • $entity.hasGeneratedKey() : new

  • $entity.isJoinEntity() : now based on annotation @JoinEntity

  • $attribute.fkPartsCount : new

  • $attribute.ini : new

  • $attribute.hasGeneratedValueStrategy(...) : new

  • $attribute.hasGeneratedValueAllocationSize() : new $attribute.generatedValueAllocationSize : new

  • $attribute.hasGeneratedValueInitialValue() : new $attribute.generatedValueInitialValue : new

  • $attribute.hasGeneratedValueSequenceName() : new $attribute.generatedValueSequenceName : new

  • $attribute.hasGeneratedValueTablePkValue() : new $attribute.generatedValueTablePkValue: new

  • $attribute.generatedValueGenerator : removed

  • $attribute.isSelected() : removed

  • $attribute.jdbcRecommendedJavaType : removed

  • $attribute.jdbcTypeCode : removed

  • $attribute.jdbcTypeName : removed

  • $link.isOrphanRemoval() : new

  • $link.joinEntity : new

  • $fk.isExplicit() : new, true if 'real FK' ( with a name )

  • $fk.isComposite() : new, true if more than 1 attribute

  • $fkPart.referencedAttribute : new

  • $fkPart.referencedEntity : new

PreviousVersion 4.1.0 (2023-August)NextTemplates

Last updated 6 months ago