Using @JsonAlias annotation, we can define one or more alternative names for a property, accepted during deserialization as alternative to the official name. Alias name do not have any impac… Read More
Any string variable that is annotated with @Nationalized annotation will be mapped using NVARCHAR. @Nationalized annotation specifies that the annotated character data should be store… Read More
Many to One association establishes a relationship between a child entity and a parent. For example, an employee can have one or more bank accounts. That means many bank accounts are… Read More
Using @AttributeOverrides and @AttributeOverride anotations, we can override the column properties of embedded type. Example@Embedded@AttributeOverrides({@AttributeOverride( name = "firstNa… Read More
Array of tables can be expressed by using a header with a name in double brackets. Signature[[header]]# First Table definition[[header]]# Second Table definition[[header]]# Third Tabl… Read More
Key, value pairs are the primary building blocks in TOML. Syntaxkey = "value" Value must be one of the following types. Values must have one of the follo… Read More
Introduction to NumPy map
Whenever we have a list of values or an iterable and if a particular function must be applied on each value in the given list of values or the iterable, we make us… Read More
Using @ArraySchema annotation, we can document array of objects as request payload. Example@Operation(summary = "Create new Employee", responses = {@ApiResponse(responseCode = "200"… Read More
Using @ApiParam annotation, we can specify the query parameters. Examplepublic ResponseEntity> infoByName(@ApiParam(name = "firstName", value = "firstName ex: krishna", required =… Read More
Using 'parameters' attribute of @Operation annotation, we can specify an optional array of parameters which will be added to any automatically detected parameters in the method itself.  … Read More
You can get the documents that match to give example. ExampleEmployee empWithAge32Example = new Employee();empWithAge32Example.setAge(32);Iterable empsWithAge32 = employeeRepo.findAll… Read More
‘save’ method of repository interface is used to update an entity. ExampleOptional empOpt = employeeRepo.findById(emp1.getArangoId());if (!empOpt.isPresent()) { System.ou… Read More