org.hibernate.metadata.CollectionMetadata Java Examples

The following examples show how to use org.hibernate.metadata.CollectionMetadata. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LegacySessionFactory.java    From judgels with GNU General Public License v2.0 4 votes vote down vote up
@Override
public CollectionMetadata getCollectionMetadata(String roleName) {
    return null;
}
 
Example #2
Source File: AbstractCollectionPersister.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public CollectionMetadata getCollectionMetadata() {
	return this;
}
 
Example #3
Source File: SessionFactoryDelegatingImpl.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public CollectionMetadata getCollectionMetadata(String roleName) {
	return delegate.getCollectionMetadata( roleName );
}
 
Example #4
Source File: SessionFactoryImpl.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
	return (CollectionMetadata) getMetamodel().collectionPersister( roleName );
}
 
Example #5
Source File: AbstractCollectionPersister.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
public CollectionMetadata getCollectionMetadata() {
	return this;
}
 
Example #6
Source File: SessionFactoryStub.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
	return getImpl().getCollectionMetadata(roleName);
}
 
Example #7
Source File: SessionFactoryImpl.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
	return (CollectionMetadata) collectionMetadata.get(roleName);
}
 
Example #8
Source File: CacheHibernateStoreFactorySelfTest.java    From ignite with Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override public CollectionMetadata getCollectionMetadata(String roleName) {
    return null;
}
 
Example #9
Source File: CacheHibernateStoreFactorySelfTest.java    From ignite with Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override public CollectionMetadata getCollectionMetadata(String roleName) {
    return null;
}
 
Example #10
Source File: CacheHibernateStoreFactorySelfTest.java    From ignite with Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override public CollectionMetadata getCollectionMetadata(String roleName) {
    return null;
}
 
Example #11
Source File: SessionFactoryWrapper.java    From lemon with Apache License 2.0 4 votes vote down vote up
public CollectionMetadata getCollectionMetadata(String roleName) {
    return sessionFactoryImplementor.getCollectionMetadata(roleName);
}
 
Example #12
Source File: SessionFactory.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Get the {@link CollectionMetadata} associated with the named collection role.
 *
 * @param roleName The collection role (in form [owning-entity-name].[collection-property-name]).
 *
 * @return The metadata associated with the given collection; may be null if no such
 * collection was mapped.
 *
 * @throws HibernateException Generally null is returned instead of throwing.
 *
 * @deprecated Use the descriptors from {@link #getMetamodel()} instead
 */
@Deprecated
CollectionMetadata getCollectionMetadata(String roleName);
 
Example #13
Source File: SessionFactory.java    From cacheonix-core with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Get the <tt>CollectionMetadata</tt> associated with the named collection role
 *
 * @see org.hibernate.metadata.CollectionMetadata
 */
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException;
 
Example #14
Source File: CollectionPersister.java    From lams with GNU General Public License v2.0 votes vote down vote up
CollectionMetadata getCollectionMetadata(); 
Example #15
Source File: CollectionPersister.java    From cacheonix-core with GNU Lesser General Public License v2.1 votes vote down vote up
public CollectionMetadata getCollectionMetadata();