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.

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” »

[Java]: Enabling Authorization For vFabric Tc Server’s Insight

Recently I have being assigned to work on VMware vFabric tc server which one of its feature, Spring Insight, enables the users to monitor their system performance.

However unlike Tomcat administrator page where users are required to provide their credentials before viewing the page. Insight by default does not ask for any credentials. This is certainly critical as your visitors will be able to view more than what they needed to know.

Continue reading “[Java]: Enabling Authorization For vFabric Tc Server’s Insight” »