# Templates

### Generator objects&#x20;

In addition to the evolutions concerning the model, some technical objects have also changed.

#### New objects&#x20;

* **$csharp** : utility functions for **C#** code generation
* **$php** : utility functions for **PHP** code generation&#x20;

#### Changed objects&#x20;

* **$java** : toStringMethod(..) new parameters (same as in $csharp and $php )
* **$jdbc** : provides automatic conversion to SQL column and type,\
  useless functions removed :  \
  &#x20;  resultSetGetter(), valueForPreparedStatement(), preparedStatementSetter()&#x20;
* **$env**.typeWithNullableMark = true/false (for target languages with nullable mark : PHP, C#, ...)

#### Deprecated objects&#x20;

* **$today** : use $now instead

### New features&#x20;

* Improvements regarding generic ORM 'GeneratedValues' ('AutoIncremented')
* JPA code generation improvements ( $jpa object ) : generated value, cascade, etc
* Many to many relationship is now simpler to manage ( with JoinTable based on @JoinEntity )


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://news.telosys.org/version-4.1.0/templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
