Best code examples for Hibernate ORM EntityKey class (org.hibernate.engine.spi.EntityKey)

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

Hibernate ORM EntityKey examples from Open Source projects
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
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
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