Spring Boot + Spring JPA: Fix Hibernate Dialect Mapping Error

Hibernate with Spring JPA along with Spring Boot makes it easy for user to manage their database connection. However there are certain column type that is not mapped by default by Hibernate. For an example column type nvarchar in MSSQL could lead to an exception.

Continue reading “Spring Boot + Spring JPA: Fix Hibernate Dialect Mapping Error” »

Weight Loss vs. Fat Loss

It seems that people around me are still having obsession about having the ideal weight. For example someone with the height of 175cm will try to achieve the weight of 73kg. This is because he will achieve a BMI of 23.8 which is consider as normal. However many are still unaware that there several factors which contributes to their body weight.

Being Heavy Does Not Mean You’re Fat

Body weights are contributed by several factors such as fats, muscles, and water in your body. Image below describes how two person who has the same body weight but different body figure.

Continue reading “Weight Loss vs. Fat Loss” »