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

This code example shows how to use the following methods:containsCollectionFetches
This code example shows how to use the following methods:
	private static final Log log = LoggerFactory.make();
 
	protected final QueryTranslatorImpl delegate;
 
	public LegacyParserBridgeQueryTranslator(SessionFactoryImplementor sessionFactory, String queryIdentifier, String query, Map<?, ?> filters) {
		this.delegate = new QueryTranslatorImpl( queryIdentifier, query, filters, sessionFactory );
	} 
 
	@Override 
	public void compile(Map replacements, boolean shallow) throws QueryException, MappingException {
		try { 
			// Need to prepare the delegate so getQuerySpaces() etc. canbe invoked on it 
			delegate.compile( replacements, shallow );
		} 
		catch ( Exception qse ) {
			throw log.querySyntaxException( qse, getQueryString() );
		} 
 
		doCompile( replacements, shallow );
	} 
3
CodeRank
See Code Examples for Hibernate ORM QueryTranslatorImpl Methods: