Hibernate ORM QuerySyntaxException - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM QuerySyntaxException class.

This code example shows how to use the following methods:
	public EntityPersister requireClassPersister(String name) throws SemanticException { 
		EntityPersister cp; 
		try { 
			cp = findEntityPersisterByName( name ); 
			if ( cp == null ) { 
				throw new QuerySyntaxException( name + " is not mapped" ); 
			} 
		} 
		catch ( MappingException e ) { 
			throw new DetailedSemanticException( e.getMessage(), e ); 
		} 
		return cp; 
	} 
 
	/** 
	 * Locate the collection persister by the collection role. 
	 * 
	 * @param role The collection role name. 
	 * @return The defined CollectionPersister for this collection role, or null. 
	 */ 
4
CodeRank
Experience pair programming with AI  Get Codota for Java