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

This code example shows how to use the following methods: getLockOptions, isReadOnly

5
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: getRowSelection, traceParameters
		errorIfClosed(); 
		getTransactionCoordinator().getJdbcCoordinator().executeBatch(); 
	} 
 
	public boolean shouldAutoClose() { 
		return isAutoCloseSessionEnabled() && !isClosed(); 
	} 
 
	@Override 
	public void afterTransactionBegin(TransactionImplementor hibernateTransaction) { 
		// nothing to do here 
	} 
 
	@Override 
	public void beforeTransactionCompletion(TransactionImplementor hibernateTransaction) { 
		// nothing to do here 
	} 
 
	@Override 
	public void afterTransactionCompletion(TransactionImplementor hibernateTransaction, boolean successful) { 
Full Snippet Info
4
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: getNamedParameters
	 */ 
	public int bind(PreparedStatement statement, QueryParameters qp, SessionImplementor session, int position)
	        throws SQLException {
		TypedValue typedValue = ( TypedValue ) qp.getNamedParameters().get( name );
		typedValue.getType().nullSafeSet( statement, typedValue.getValue(), position, session );
		return typedValue.getType().getColumnSpan( session.getFactory() );
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	public String renderDisplayInfo() {
		return "name=" + name + ", expectedType=" + getExpectedType();
	} 
 
	/** 
	 * Getter for property 'name'. 
	 * 
	 * @return Value for property 'name'. 
	 */ 
Full Snippet Info
4
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: isCallable
See Code Examples for Hibernate ORM QueryParameters Methods: