Stars
mbhave / spring-boot
Forked from spring-projects/spring-bootSpring Boot
when response for request is too large [If we have 1000’s of records in the database] then instead of displaying all records at a time on browser we can display the response page by page manner usi…
Add hibernate 3.x jars, Spring 3.x jars, common logggins jars, ojdbc6.jar or ojdbc14 jar
Once an object is saved in a database, we can modify that object any number of times right, If we want to know how many no of times that an object is modified then we need to apply this versioning …
Simple Hibernate project with configuration,mapping files with domain/entity class
Hibernate Query Language (HQL) is same as SQL (Structured Query Language) but it doesn't depends on the table of the database. Instead of table name, we use class name in HQL. So it is database ind…
We need a Hibernate identifier generator that can take any value that we manually assign, and it can also automatically generate a unique identifier when the entity identifier is null. However, the…
Hibernate Query Language (HQL) is same as SQL (Structured Query Language) but it doesn't depends on the table of the database. Instead of table name, we use class name in HQL. So it is database ind…
When you save date to the database using hibernate, the date is converted to local time and stored. Suppose your date is '12-08-2017' ,hibernate inserts it into database in default format of"yyyy-m…
It’s very easy to use Hibernate Validator and best part is that we can easily extend it and create our own custom validation annotations. Today we will look into the hibernate validator in detail w…
when response for request is too large [If we have 1000’s of records in the database] then instead of displaying all records at a time on browser we can display the response page by page manner usi…
Hibernate provides alternate ways of manipulating objects and in turn data available in RDBMS tables. One of the methods is Criteria API, which allows you to build up a criteria query object progra…
The most basic SQL query is to get a list of scalars (values) from one or more tables.
Hibernate - Component Mappings---> In component mapping, we will map the dependent object as a component. An component is an object that is stored as an value rather than entity reference. This is …
Don't use 'Query.list()' when you really need 'Query.uniqueResult()' in Hibernate.
In case of Table Per Subclass, subclass mapped tables are related to parent class mapped table by primary key and foreign key relationship. The <joined-subclass> element of class is used to map the…
Hibernate Inheritance Mapping Tutorial Table Per Hierarchy Table Per Concrete class Table Per Subclass We can map the inheritance hierarchy classes with the table of the database. There are three i…
This is first project in maven using hibernate (Database persistance operations )
ServletConfig Interface An object of ServletConfig is created by the web container for each servlet. This object can be used to get configuration information from web.xml file. If the configuration…
An object of ServletContext is created by the web container at time of deploying the project. This object can be used to get configuration information from web.xml file. There is only one ServletCo…