Searched for ""

Caching with Hibernate 4

If you have a bigger application you think about performance and how you can improve it. Caching is one way to do this because it enables fewer queries going to the database. Querying the database is always a performance impact because it is an I/O operation. And I/O operations are much slower than operations using… Continue reading

About Us

JavaBeginnersTutorial.com provides an easy tutorial for beginners to learn online. This journey started in 2010 with an article on the Core Java topic. Now we are increasing our database of tutorials adding new articles on new technology day by day. Got any tip for us? or have any topic you want us to write about?… Continue reading

Hibernate 4 Database configuration

In the previous articles I have shown you how to get started with Hibernate 4: create entities, manage relations and inheritance and how to query the stored data. However every time I used an in-memory database which means that every time you stop the application the inserted data vanishes.