Java 类org.hibernate.metadata.CollectionMetadata 实例源码

项目:openeos    文件:HibernateAnnotationsMixedDictionaryService.java   
private IPropertyDefinition createPropertyDefinition(String propertyName, Type propertyType, ClassMetadata metaData) {
    IPropertyDefinition propertyDef;
    if (propertyType.isCollectionType()) {
        CollectionType colType = (CollectionType) propertyType;
        CollectionMetadata colMetaData = sessionFactory.getCollectionMetadata(colType.getRole());
        propertyDef = new HibernateAnnotationsMixedCollectionPropertyDefinitionImpl(metaData, propertyName, colMetaData);
    } else {
        propertyDef = new HibernateAnnotationsMixedPropertyDefinitionImpl(metaData, propertyName);
    }
    return propertyDef;
}
项目:lemon    文件:SessionFactoryWrapper.java   
public CollectionMetadata getCollectionMetadata(String roleName) {
    return sessionFactoryImplementor.getCollectionMetadata(roleName);
}
项目:lams    文件:AbstractCollectionPersister.java   
@Override
public CollectionMetadata getCollectionMetadata() {
    return this;
}
项目:lams    文件:SessionFactoryImpl.java   
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
    return collectionMetadata.get(roleName);
}
项目:helium    文件:JbpmSessionFactory.java   
public CollectionMetadata getCollectionMetadata(String roleName)
        throws HibernateException {
    return delegate.getCollectionMetadata(roleName);
}
项目:OSCAR-ConCert    文件:SpringHibernateLocalSessionFactoryBean.java   
public CollectionMetadata getCollectionMetadata(String arg0) throws HibernateException {
 return sessionFactory.getCollectionMetadata(arg0);
}
项目:openbravo-brazil    文件:DalSessionFactory.java   
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
  return delegateSessionFactory.getCollectionMetadata(roleName);
}
项目:cacheonix-core    文件:AbstractCollectionPersister.java   
public CollectionMetadata getCollectionMetadata() {
    return this;
}
项目:cacheonix-core    文件:SessionFactoryStub.java   
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
    return getImpl().getCollectionMetadata(roleName);
}
项目:cacheonix-core    文件:SessionFactoryImpl.java   
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
    return (CollectionMetadata) collectionMetadata.get(roleName);
}
项目:ignite    文件:CacheHibernateStoreFactorySelfTest.java   
/** {@inheritDoc} */
@Override public CollectionMetadata getCollectionMetadata(String roleName) {
    return null;
}
项目:ignite    文件:CacheHibernateStoreFactorySelfTest.java   
/** {@inheritDoc} */
@Override public CollectionMetadata getCollectionMetadata(String roleName) {
    return null;
}
项目:hyberbin-osgi    文件:DynamicSessionFactory.java   
public CollectionMetadata getCollectionMetadata(String roleName) {
    return getHibernateSessionFactory().getCollectionMetadata(roleName);
}
项目:JForum    文件:SpringSessionFactory.java   
@Override
public CollectionMetadata getCollectionMetadata(String s) throws HibernateException {
       return original.getCollectionMetadata(s);
   }
项目:openeos    文件:HibernateAnnotationsMixedCollectionPropertyDefinitionImpl.java   
public HibernateAnnotationsMixedCollectionPropertyDefinitionImpl(ClassMetadata metaData, String name,
        CollectionMetadata collectionMetaData) {
    super(metaData, name);
    this.collectionMetaData = collectionMetaData;
}
项目:hibernate-dynamic-dialects    文件:SessionFactoryImpl.java   
public CollectionMetadata getCollectionMetadata(String roleName)
        throws HibernateException {
    return collectionMetadata.get(roleName);
}
项目:oscar-old    文件:SpringHibernateLocalSessionFactoryBean.java   
public CollectionMetadata getCollectionMetadata(String arg0) throws HibernateException {
 return sessionFactory.getCollectionMetadata(arg0);
}
项目:lams    文件:SessionFactory.java   
/**
 * 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.
 */
public CollectionMetadata getCollectionMetadata(String roleName);
项目:cacheonix-core    文件:SessionFactory.java   
/**
 * Get the <tt>CollectionMetadata</tt> associated with the named collection role
 *
 * @see org.hibernate.metadata.CollectionMetadata
 */
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException;
项目:lams    文件:CollectionPersister.java   
public CollectionMetadata getCollectionMetadata();
项目:cacheonix-core    文件:CollectionPersister.java   
public CollectionMetadata getCollectionMetadata();