JPA — OneToMany bidirectionalThe Best Way To Map The @OneToMany Bidirectional Association1d ago1d ago
Postgres and JPA — Best way to create PKWhen using Spring Boot JPA with PostgreSQL, you can leverage JPA’s built-in support for generating primary keys using sequences. Here’s…Mar 20Mar 20
Kafka Stream —In this example, I’ll show how to read messages from the kafka topic and with the help of kafka stream convert it into upper case and send…Mar 12Mar 12
JPA — Populate Child-Side parent association via proxyA Hibernate proxy can be useful when a child entity can be persisted with a reference to its parent (@ManyToOne or @OneToOneassociation)…Feb 26Feb 26
How to Optimize the Generation of Sequence Identifiers via the hi/lo AlgorithmIn MySQL and Hibernate 5, the GenerationType.AUTO generator type will result in using the TABLE generator. This adds a significant…Feb 18Feb 18
Spring Batch — Date ReadingIn this example, we’ll see how to read the date from csv (with the different type) and convert it to another format and finally write…Aug 6, 2024Aug 6, 2024
Spring Batch — Pass Arguments to QueryIn this example, will see how to pass the arguments to SQL query. JdbcCursorItemReader internally uses the PreparedStatementSetter to set…Jul 20, 2024Jul 20, 2024