Hibernate and Spring framework

I introduced to you all basic about Hibernate, so you will know in Hibernate, an object implements the SessionFactory interface, which will hold information related to the database connection, the entity to manipulate the database. It’s better if this object is managed by Spring, when… Read More

Basic about JPA

In this tutorial, as the tutorial introducing basic about Hibernate, not lengthy, I will go straight to an example of JPA with the implementation of Hibernate to give you a first look and understand how JPA works. First, I will create a Maven project as… Read More

Learn about namespaces in XML

If you, who have ever worked on XML files, are more or less aware of the namespace concept in XML. Let me give you the following example to give you a first look at it:

Declaring xmlns:c1=”https://huongdanjava.com/class1″ or xmlns:c2=”https://huongdanjava.com/class2″ then the xmlns:c1 or xmlns:c2… Read More

Basic about Hibernate

Hibernate, as I say in this tutorial, besides implementing the JPA specification, also implements its own framework for connecting and manipulating with database management systems. In this first tutorial about Hibernate, I will go straight to an example of using Hibernate to get database data,… Read More