---
title: "Robert Niestroj (@rniestroj) | Hashnode"
description: "Software Developer doing Java, JavaScript for over 10 years. Working in Polish and German projects."
url: "https://hashnode.com/@rniestroj"
---

@rniestroj

# Robert Niestroj

@rniestroj · Poland · Joined August 2023

### [Hibernate 6 Shared schema Multitenancy](https://robertniestroj.hashnode.dev/hibernate-6-shared-schema-multitenancy?utm_source=hashnode&utm_medium=feed)

Hibernate 6 introduced a new way to create multi-tenant applications. Apart of per-schema or per-database now it's possible to use a shared schema.

3 min read · [robertniestroj.hashnode.dev](https://robertniestroj.hashnode.dev/hibernate-6-shared-schema-multitenancy?utm_source=hashnode&utm_medium=feed)

[Apr 8, 2025](https://hashnode.com/posts/hibernate-6-shared-schema-multitenancy/67f4d4b29994c8e97333f40b)

### [Two reasons why you might want to disable Open Session in View in a Spring application](https://robertniestroj.hashnode.dev/two-reasons-why-you-might-want-to-disable-open-session-in-view-in-a-spring-application?utm_source=hashnode&utm_medium=feed)

The Open Session in View pattern can lead to performance issues and surprising errors in Spring Boot. Maybe you want disable it.

5 min read · [robertniestroj.hashnode.dev](https://robertniestroj.hashnode.dev/two-reasons-why-you-might-want-to-disable-open-session-in-view-in-a-spring-application?utm_source=hashnode&utm_medium=feed)

[Dec 12, 2024](https://hashnode.com/posts/two-reasons-why-you-might-want-to-disable-open-session-in-view-in-a-spring-application/675a9bbbc4158390e88bd73a)

### [A Guide to Logging SQL Queries in Hibernate](https://robertniestroj.hashnode.dev/a-guide-to-logging-sql-queries-in-hibernate?utm_source=hashnode&utm_medium=feed)

Learn how to log SQL queries in Hibernate to identify performance issues in the data access layer.

6 min read · [robertniestroj.hashnode.dev](https://robertniestroj.hashnode.dev/a-guide-to-logging-sql-queries-in-hibernate?utm_source=hashnode&utm_medium=feed)

[Oct 22, 2024](https://hashnode.com/posts/a-guide-to-logging-sql-queries-in-hibernate/671750741bbf9163f6127707)

### [How JPA works from your Java code to the Database](https://robertniestroj.hashnode.dev/how-jpa-works-from-your-java-code-to-the-database?utm_source=hashnode&utm_medium=feed)

To work efficiently with Spring, JPA and Hibernate one needs to understand how this technologies work together. I try to explain it in this article.

4 min read · [robertniestroj.hashnode.dev](https://robertniestroj.hashnode.dev/how-jpa-works-from-your-java-code-to-the-database?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-jpa-works-from-your-java-code-to-the-database/66f272980eb543a707485809) [Sep 24, 2024](https://hashnode.com/posts/how-jpa-works-from-your-java-code-to-the-database/66f272980eb543a707485809)

### [Think twice before using @OneToMany](https://robertniestroj.hashnode.dev/think-twice-before-using-onetomany?utm_source=hashnode&utm_medium=feed)

@OneToMany is one of the most often used annotations in #JPA. Whenever a Parent Entity can have multiple Childs we use a Collection with the @OneToMany annotation. import javax.persistence.\*; import java.util.HashSet; import java.util.Set; import org...

3 min read · [robertniestroj.hashnode.dev](https://robertniestroj.hashnode.dev/think-twice-before-using-onetomany?utm_source=hashnode&utm_medium=feed)

[Jul 3, 2024](https://hashnode.com/posts/think-twice-before-using-onetomany/6684fa7c6229df0dc847d990)
