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

This code example shows how to use the following methods:getEntityName, isBatchLoadable
		getIdentifierOrUniqueKeyType( session.getFactory() ) 
				.nullSafeSet( st, getIdentifier( value, session ), index, session ); 
	} 
 
	public ForeignKeyDirection getForeignKeyDirection() { 
		return ForeignKeyDirection.FOREIGN_KEY_FROM_PARENT; 
	} 
 
	public Object hydrate( 
			ResultSet rs, 
			String[] names, 
			SessionImplementor session, 
			Object owner) throws HibernateException, SQLException { 
		// return the (fully resolved) identifier value, but do not resolve 
		// to the actual referenced entity instance 
		// NOTE: the owner of the association is not really the owner of the id! 
		Serializable id = (Serializable) getIdentifierOrUniqueKeyType( session.getFactory() ) 
				.nullSafeGet( rs, names, session, null ); 
		scheduleBatchLoadIfNeeded( id, session ); 
		return id; 

5
CodeRank
Experience pair programming with AI  Get Codota for Java
This code example shows how to use the following methods:
		throw new UnsupportedOperationException(); 
	} 
 
 
	public boolean isOpen() { 
		return !isClosed(); 
	} 
 
	public void close() { 
		managedClose(); 
	} 
 
	public ConnectionReleaseMode getConnectionReleaseMode() { 
		return factory.getSettings().getConnectionReleaseMode(); 
	} 
 
	@Override 
	public boolean shouldAutoJoinTransaction() { 
		return true; 
	} 

4
CodeRank
Experience pair programming with AI  Get Codota for Java
This code example shows how to use the following methods:getIdentifier
		} 
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	public boolean isDefaultReadOnly() { 
		return defaultReadOnly; 
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	public void setDefaultReadOnly(boolean defaultReadOnly) { 
		this.defaultReadOnly = defaultReadOnly; 
	} 
 
	public boolean hasNonReadOnlyEntities() { 
		return hasNonReadOnlyEntities; 
	} 

3
CodeRank
Experience pair programming with AI  Get Codota for Java