Java Tutorial

Resolve Spring Boot JPA Table ‘dbname.hibernate_sequence’ Doesn’t Exist Error

In my recent spring boot example project, I use spring boot data JPA to operate the MySQL server table. And when I invoke the CrudRepository‘s save method to implement insert action to the table, it shows below error, the error message is “table ‘dev2qa_example.hibernate_sequence’ doesn’t exist”. This error cost me some time to fix, and …

Resolve Spring Boot JPA Table ‘dbname.hibernate_sequence’ Doesn’t Exist Error Read More »

How To Enable Group Policy Editor ( gpedit.msc ) In Win 10 Home Edition

Group policy editor (gpedit.msc) is a very useful windows function that is needed when enabling the windows long file path feature. It has been installed and enabled in win 10 professional and enterprise editions by default. But when you run it in win 10 home edition, it will prompt an error message like Windows cannot …

How To Enable Group Policy Editor ( gpedit.msc ) In Win 10 Home Edition Read More »

How To Create, Debug Java Project In Visual Studio Code

Visual studio code is an open-source lightweight code editor provided by Microsoft. It can startup very quickly. It can support any coding language development and debug through its extension. There are so many extensions in the visual studio code marketplace. In single words, visual studio code is not a java IDE, but it can be …

How To Create, Debug Java Project In Visual Studio Code Read More »

How To Convert East-Asian Character To Unicode In Java

East-Asian character ( Chinese, Japanese, Korean ) is different from the western character. But our web application should be accessed from all over the world. So we should support display those east-Asian characters on the web page correctly. The solution to resolve the character charset issue is to use Unicode for all languages messages in …

How To Convert East-Asian Character To Unicode In Java Read More »