当前位置: 首页>>代码示例>>Java>>正文


Java CollectionMetadata类代码示例

本文整理汇总了Java中org.hibernate.metadata.CollectionMetadata的典型用法代码示例。如果您正苦于以下问题:Java CollectionMetadata类的具体用法?Java CollectionMetadata怎么用?Java CollectionMetadata使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


CollectionMetadata类属于org.hibernate.metadata包,在下文中一共展示了CollectionMetadata类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createPropertyDefinition

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
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;
}
 
开发者ID:frincon,项目名称:openeos,代码行数:12,代码来源:HibernateAnnotationsMixedDictionaryService.java

示例2: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata(String roleName) {
    return sessionFactoryImplementor.getCollectionMetadata(roleName);
}
 
开发者ID:zhaojunfei,项目名称:lemon,代码行数:4,代码来源:SessionFactoryWrapper.java

示例3: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
@Override
public CollectionMetadata getCollectionMetadata() {
	return this;
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:AbstractCollectionPersister.java

示例4: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
	return collectionMetadata.get(roleName);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:4,代码来源:SessionFactoryImpl.java

示例5: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata(String roleName)
		throws HibernateException {
	return delegate.getCollectionMetadata(roleName);
}
 
开发者ID:GovernIB,项目名称:helium,代码行数:5,代码来源:JbpmSessionFactory.java

示例6: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata(String arg0) throws HibernateException {
 return sessionFactory.getCollectionMetadata(arg0);
}
 
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:4,代码来源:SpringHibernateLocalSessionFactoryBean.java

示例7: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
  return delegateSessionFactory.getCollectionMetadata(roleName);
}
 
开发者ID:mauyr,项目名称:openbravo-brazil,代码行数:4,代码来源:DalSessionFactory.java

示例8: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata() {
	return this;
}
 
开发者ID:cacheonix,项目名称:cacheonix-core,代码行数:4,代码来源:AbstractCollectionPersister.java

示例9: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
	return getImpl().getCollectionMetadata(roleName);
}
 
开发者ID:cacheonix,项目名称:cacheonix-core,代码行数:4,代码来源:SessionFactoryStub.java

示例10: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException {
	return (CollectionMetadata) collectionMetadata.get(roleName);
}
 
开发者ID:cacheonix,项目名称:cacheonix-core,代码行数:4,代码来源:SessionFactoryImpl.java

示例11: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
/** {@inheritDoc} */
@Override public CollectionMetadata getCollectionMetadata(String roleName) {
    return null;
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:CacheHibernateStoreFactorySelfTest.java

示例12: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata(String roleName) {
    return getHibernateSessionFactory().getCollectionMetadata(roleName);
}
 
开发者ID:hyberbin,项目名称:hyberbin-osgi,代码行数:4,代码来源:DynamicSessionFactory.java

示例13: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
@Override
public CollectionMetadata getCollectionMetadata(String s) throws HibernateException {
       return original.getCollectionMetadata(s);
   }
 
开发者ID:eclipse123,项目名称:JForum,代码行数:5,代码来源:SpringSessionFactory.java

示例14: HibernateAnnotationsMixedCollectionPropertyDefinitionImpl

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public HibernateAnnotationsMixedCollectionPropertyDefinitionImpl(ClassMetadata metaData, String name,
		CollectionMetadata collectionMetaData) {
	super(metaData, name);
	this.collectionMetaData = collectionMetaData;
}
 
开发者ID:frincon,项目名称:openeos,代码行数:6,代码来源:HibernateAnnotationsMixedCollectionPropertyDefinitionImpl.java

示例15: getCollectionMetadata

import org.hibernate.metadata.CollectionMetadata; //导入依赖的package包/类
public CollectionMetadata getCollectionMetadata(String roleName)
		throws HibernateException {
	return collectionMetadata.get(roleName);
}
 
开发者ID:Gary-zhouxianjun,项目名称:hibernate-dynamic-dialects,代码行数:5,代码来源:SessionFactoryImpl.java


注:本文中的org.hibernate.metadata.CollectionMetadata类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。