Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
NOT LIKE in Hibernate Criteria
The Hibernate Criteria Not like, selects the records that don't match to the matching string given in like parameter.
Example:
Criteria criteria=session.createCriteria(Tickit.class); //Here you can pass class on which you want to perf...
Error: No identifier specified for entity
I was working with spring 4 integration with hibernate 4 and encountered and error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ...CustomConfiguration: Invocat...
Spring security 3: database authentication with hibernate
For authenticating the user via spring security we need to make our own custom authentication-provider. We can make our custom UserDetailService easily, here is the sample custom code
MyUserDetailsService.java
package com.users.serv...
Hibernate One to Many Mapping
One to many mapping
One-to-many mapping means a mapping in which each record in one table is linked to multiple records in another table. Like a parent record in one table can have several child records in another table.The parent is not requi...
Hibernate One to One Mapping
Basic Hibernate Mapping:
One to one mapping
One to one mapping is performed by one-to-one element. No foreign key is created in primary table.
Let us see one simple example, in which we are using bidirectional association.
There ar...
Inheritance in Hibernate
Sometimes we need to apply inheritance in Hibernate as per our requirement. Here I'm explaining the Hibernate Inheritance using "Table per subclass: using a discriminator".
Suppose we've a class User with subclass Student. And in this approach...
Hibernate environment in Spring
Spring comes with a family of data access frameworks that integrate with a variety of data access technologies. Whether youre persisting your data via direct JDBC, iBATIS, or an object relational mapping (ORM) framework such as Hibernate, Spring...