Word press – How to change category name in post links

I recently ran into the issue on this wordpress site. The “Permalink” contained subcategory as “uncategorised” and Edit button didn’t let me change the subcategory.     Clicking on edit button couldn’t let me change the “uncategorised” keyword. To solve this I had to go directly into the database and make the changes. Here are

Spring boot : Profile based logging using logback

Summary: Logging using logback in Springboot application How to add profile based configuration in logback-spring.xml (logback.xml) file In Spring boot application, you can create different profiles to have environment specific configuration. This could be used for having different database urls, host names, environment configurations etc. Similar to these configuration, you can configure different environment specific

Spring Boot | Connect Microsoft sql server

It’s really easy to setup datasource in Spring boot irrespective of database used. MS SQL server datasource can be created using JTDS driver from sourceforge. http://jtds.sourceforge.net To create  MSSQL server datasource, just add the following properties in the application.properties file – After adding the above properties just auto wire the DataSource and rest spring boot

Herb Garden | Tips for beginners

Herb Garden Summer is here and it’s one of the wonderful feelings to grow your veggies. Every summer season, I try to grow as much as in limited space but I am really excited to grow enough herbs that can be used in Indian and Mexican food. This year also we have got enough of

Java 9 – New versioning scheme

Background Anybody new starting to Java always wonder why do we call Java 6, Java 7, Java 8 versions when their actual version numbers are like 1.6.0.33, 1.7.0.12, 1.8.0.14 respectively. Java’s major version is really the second digit in the version string. In Java 9, Oracle is going to make changes in version string scheme

Java Date Api Explained

This is one area where I have seen even seasoned developers go back to documentation and basic every time they need to deal with dates. Java Date API has evolved since beginning and with new Date API in Java 8 things seem to settle down. But given that there are still applications using older versions of

Setup small herb garden

May 01′ 2016 Growing vegetables, herbs and fruits is a wonderful experience and is beneficial both in terms of money and health.  This year, I have setup one medium size vegetable garden as well as a small herb garden in a container. In this page, I am going to talk about the herb garden and

Interesting Java 7 feature – Handle multiple exceptions together and Improved type checking

This article is second in the series of Interesting Java 7 features. If you want to visit the previous article of “try-with-resources” follow the below link- try-with-resources statement Handle multiple exceptions together Since the time, we started writing exception handling in Java code, we had two options – either catch individual exceptions and handle them

Interesting Java 7 feature – Handle multiple exceptions together and Improved type checking

This article is second in the series of Interesting Java 7 features. If you want to visit the previous article of “try-with-resources” follow the below link- try-with-resources statement Handle multiple exceptions together Since the time, we started writing exception handling in Java code, we had two options – either catch individual exceptions and handle them