Java developer blog

Hibernate many-to-many unidirectional relationship

Overview We could handle a many-to-many relationship in a database with the help of many-to-many bidirectional or unidirectional hibernate relationships. In the post, we are going to discuss a man...

Hibernate many-to-many bidirectional relationship

Overview We could handle a many-to-many relationship in a database with the help of many-to-many bidirectional or unidirectional hibernate relationships. If you want to learn how to implement a ma...

Hibernate many-to-one bidirectional relationship

Overview We could handle a many-to-one relationship in a database with the help of many-to-one bidirectional or unidirectional hibernate relationships. If you want to learn how to implement a many...

Hibernate many-to-one unidirectional relationship

Overview We could handle a many-to-one relationship in a database with the help of many-to-one bidirectional or unidirectional hibernate relationships. In the post, we are going to discuss a many-...

Hibernate relationships

Overview There are six types of hibernate relationships: one-to-one bidirectional/unidirectional, many-to-many bidirectional/unidirectional and many-to-one bidirectional/unidirectional. In the ...

How to automatically generate entity for Java and Kotlin with help of the IDEA

Overview You could easily generate Java and Kotlin entities for a database with help of the IDEA. In the post, we are going to discuss how to generate Java and Kotlin entities for a database with ...

Why you should use Spring Boot Dev Tools

Overview Spring Boot Dev Tools is a great tool that helps you to develop an application faster. It reflects changes in the code without the need to restart the whole application each time. In the...

How to create a Spring Batch job

Overview Spring Batch is a great technology that helps you create repeatable tasks. In the post, we are going to discuss how to create a Spring Batch job and launch it. Example Firstly, add the ...

How to export swagger specification as html or word document

Overview Swagger and OpenAPI Specification is a great way to describe RESTful interfaces. We write OpenAPI definitions in YAML or JSON. Sometimes you may need to export OpenAPI definitions into ht...

How to set up multiple databases with Spring Boot

Overview Sometimes you may need to set up multiple databases in a Spring Boot application. For example, you may read data from the first database and write to the second one. In the post, we are g...