24 Jan 2025

feedDZone Java Zone

Multi-Tenancy and Its Improved Support in Hibernate 6.3.0

Multi-tenancy has become an important feature for modern enterprise applications that need to serve multiple clients (tenants) from a single application instance. While an earlier version of Hibernate had support for multi-tenancy, its implementation required significant manual configuration and custom strategies to handle tenant isolation, which resulted in higher complexity and slower processes, especially for applications with a number of tenants.

The latest version of Hibernate 6.3.0, which was released on December 15, 2024, addressed the above limitations with enhanced multi-tenancy support through better tools for tenant identification, schema resolution, and enhanced performance for handling tenant-specific operations. This article talks about how Hibernate 6.3.0 enhanced the traditional multi-tenancy implementation significantly.

24 Jan 2025 12:00pm GMT

23 Jan 2025

feedDZone Java Zone

Multi-Tenant Data Isolation and Row Level Security

Over the past one and a half years, I was involved in designing and developing a multi-tenant treasury management system. In this article, I will share our approaches to the data isolation aspect of our multi-tenant solution and the learnings from it.

Background and Problem Regarding Data Isolation

Before going into the problem that I will focus on today, I must first give some background into our architecture for storage and data in our system. When it comes to data partitioning for SaaS systems, at the extreme far right end, we have the approach of using dedicated databases for each tenant (silo model), and on the other side of the spectrum is the shared database model (pool model).

23 Jan 2025 6:00pm GMT

20 Jan 2025

feedDZone Java Zone

Create a Custom Logger to Log Response Details With Playwright Java

While working on the series of tutorial blogs for GET, POST, PUT, PATCH, and DELETE requests for API Automation using Playwright Java. I noticed that there is no logging method provided by the Playwright Java framework to log the requests and responses.

In the REST-assured framework, we have the log().all() method available that is used for logging the request as well as the response. However, Playwright does not provide any such method. However, Playwright offers a text() method in the APIResponse interface that could be well used to extract the response text.

20 Jan 2025 7:00pm GMT

25 Jun 2024

feedLua: news

Lua 5.4.7 released

Lua 5.4.7 has been released. It fixes all known bugs in Lua 5.4.6.

25 Jun 2024 1:01pm GMT

12 Dec 2023

feedLua: news

Mailing list moved

The mailing list has moved to Google Groups.

12 Dec 2023 5:21pm GMT

14 May 2023

feedLua: news

Lua 5.4.6 released

Lua 5.4.6 has been released. It fixes all known bugs in Lua 5.4.5.

14 May 2023 12:41am GMT