Code example for HibernateException

0
			case 2: 
				return RIGHT_OUTER_JOIN; 
			case 4: 
				return FULL_JOIN; 
			default: 
				throw new HibernateException( "unknown join type: "+joinType ); 
		} 
	} 
}