Hibernate ORM Queryable - 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 Queryable class.

This code example shows how to use the following methods:getQuerySpaces
    public String getName() {
	return persister.getEntityName();
    public Serializable[] getSpaces() {
	return persister.getQuerySpaces();
    public PropertyMapping getPropertyMapping() {
	return (PropertyMapping)persister;
    public Type getType(String relativePath) {
	return persister.toType(relativePath);
This code example shows how to use the following methods:getDiscriminatorColumnName, getDiscriminatorType
	public boolean hasPhysicalDiscriminatorColumn(Queryable persister) { 
		if ( persister.getDiscriminatorType() != null ) { 
			String discrimColumnName = persister.getDiscriminatorColumnName(); 
			// Needed the "clazz_" check to work around union-subclasses 
			// TODO : is there a way to tell whether a persister is truly discrim-column based inheritence? 
			if ( discrimColumnName != null && !"clazz_".equals( discrimColumnName ) ) { 
				return true; 
		return false; 
	 * Given a (potentially unqualified) class name, locate its imported qualified name. 
	 * @param className The potentially unqualified class name 
	 * @return The qualified class name. 
	public String getImportedClassName(String className) { 
		return sfi.getImportedClassName( className ); 
This code example shows how to use the following methods:getEntityName
See Code Examples for Hibernate ORM Queryable Methods: