-
hibernate
Hibernate Merge Example
In hibernate; both merge() and update() methods updates an entity and can also affect the state of an object i.e.…
Read More » -
hibernate
Hibernate Enum Type Mapping Example
In hibernate; developers can map the Java Enum type to a column in the database. In this tutorial, we will…
Read More » -
hibernate
Hibernate Persist Example
In hibernate; an entity or a record can be saved in a database using the save(), persist(), or the saveOrUpdate()…
Read More » -
hibernate
Hibernate @NamedQuery Annotation Example
In hibernate; developers can create the Named Queries that is a group of query statements. This tutorial will explore the…
Read More » -
spring
Spring static factory-method Example
In spring, developers can create a bean (or the object instantiation) by invoking the static-factory-method. This tutorial will explore the…
Read More » -
spring
Spring init-method and destroy-method Tutorial
Sometimes when the spring beans are created developers need to perform the initialization operations and the cleanup operations before the…
Read More » -
spring
Spring @Configuration Annotation Example
Spring 3.x framework provides support for moving the bean definitions out of the XML file into the Java class. This…
Read More » -
MVC
Spring MVC Pagination Example
Pagination is a mechanism to display a large number of records in different parts. In this tutorial, we will show…
Read More » -
MVC
Spring MVC ModelMap Example
In spring mvc, the org.springframework.ui.ModelMap object is used to pass the multiple values from the spring controller to the view.…
Read More » -
spring
Spring RowMapper Example
Spring Jdbc framework provides a mechanism to fetch the records from a database using the query() method. This tutorial will…
Read More »