Skip to main content

Code conventions

We are using yam files for spring configurations as long as possible because they are easier to read .

For JPA entities, we are using XML mapping instead of annotation mapping. We put the xml files for mapping inside the META-INF folder and do not forget to register them as mapping resources inside your application configuration (application.yml file)

image.png

For basic CRUD operations, we use IbRepository instead of JPA repository because it follows our naming conventions and also it has filter, pagination, sorting parameters by default. (IbRepository is explained in details in the repository section).