↧
How to use String UUID in Hibernate with MySQL
When creating the database structure it is important to make sure that each row in a table has a unique ID so that it can be easily indexed, retrieved, and manipulated when needed. The most common...
View ArticleUsing lazy-loading in JPA to speed up your application
Hibernate makes working with the database a lot easier. You just need to define your entities and the library does the job of retrieving data or persisting your objects. This is true for all modern...
View ArticleHow to lock entries in the database to avoid double-processing using Update...
Many services have some sort of job that gets executed at regular intervals and does some sort of processing or aggregation. In many instances you read data from the database, do the needed...
View Article