PinnedPublished inJavarevisitedWhen JdbcTemplate Throws Exception if Query() return no resultSetI was working on my application in my company today, and I found that the queryForObject() method on jdbcTemplate throws an…Jan 13A response icon1Jan 13A response icon1
PinnedPublished inJavarevisitedModern Switch Case Syntax in JavaThe second one in this article I used the first time today and it is amazingFeb 3A response icon1Feb 3A response icon1
PinnedHow to View Debug Logs in Spring Boot with HibernateLogging is a crucial aspect of any application, as it helps in debugging and monitoring. Spring Boot provides a powerful logging system…Feb 11Feb 11
PinnedPublished inJavarevisitedHow to add your property file in spring boot, and what is the benefit of itIn Spring Boot, you can add your own custom property file to configure various aspects of your application, just like the default…Sep 15, 2024A response icon1Sep 15, 2024A response icon1
Published inJavarevisited🚀 Developing REST API Using Spring Boot — A Beginner-Friendly GuideSpring Boot has become one of the most popular frameworks for building REST APIs in Java. It simplifies the process of creating…10h ago10h ago
How I Optimized a Db2 Query by 80% Using a Simple Refactor“Sometimes, all it takes is looking at a query a little differently.”4d ago4d ago
Published inJavarevisitedSince Java 15, a new and more expressive string formatting feature was introduced: Text Blocks.Here’s a summary of relevant string formatting methods in and after Java 15:6d agoA response icon16d agoA response icon1
Published inJavarevisitedMockedConstruction in junitIn JUnit (especially when using Mockito), MockedConstruction is a feature that allows you to mock the construction of new objects. This is…May 11May 11
Overcoming Imposter Syndrome as a Java DeveloperFeeling like a fraud in your coding journey? You’re not alone. Here’s how to tackle imposter syndrome and thrive as a Java developer.Apr 26Apr 26