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
  • New annotations for links
  • Annotation removed
  1. Version 3.3.0 (2021-July )

DSL model annotations

New annotations

  • Explicit Foreign Key with

    • @FK(xx)

  • @Insertable(true|false)

  • @Updatable(true|false)

  • @Optional

  • @Transient

New annotations for links

  • Link fetch type :

    • @FetchTypeLazy

    • @FetchTypeEager

  • Link by attribute with

    • @LinkByAttr(attribName)

    • @LinkByAttr(attr1 > refAttr1 , attr2 > refAttr2 , ...)

  • Link by column with

    • @LinkByCol(column[, column2 [, columnN ] ] )

  • Link by Foreign Key :

    • @LinkByFK(fkName)

  • Link by "join entity" (for "many to many" cardinality)

    • @LinkByJoinEntity(entityName)

  • Link cardinality :

    • @ManyToMany

    • @OneToOne

  • Link "mapped by" (for ORM) :

    • @MappedBy(attributeName)

Annotation removed

The useless annotation "@SqlType" has been removed

PreviousVersion 3.3.0 (2021-July )NextDSL model "Tags"

Last updated 3 years ago