Best code examples for Hibernate ORM QuerySyntaxException class (org.hibernate.hql.internal.ast.QuerySyntaxException)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM QuerySyntaxException class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM QuerySyntaxException examples from Open Source projects
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. 
Full Snippet Info