identifierbagtype.java

来自「人力资源管理系统主要包括:人员管理、招聘管理、培训管理、奖惩管理和薪金管理五大管」· Java 代码 · 共 39 行

JAVA
39
字号
//$Id: IdentifierBagType.java,v 1.2.2.1 2004/01/26 04:57:09 oneovthafew Exp $package net.sf.hibernate.type;import net.sf.hibernate.HibernateException;import net.sf.hibernate.collection.CollectionPersister;import net.sf.hibernate.collection.IdentifierBag;import net.sf.hibernate.collection.PersistentCollection;import net.sf.hibernate.engine.SessionImplementor;public class IdentifierBagType extends PersistentCollectionType {		public IdentifierBagType(String role) {		super(role);	}		public PersistentCollection instantiate(		SessionImplementor session,		CollectionPersister persister)		throws HibernateException {				return new IdentifierBag(session);	}			public Class getReturnedClass() {		return java.util.Collection.class;	}		public PersistentCollection wrap(SessionImplementor session, Object collection) {		return new IdentifierBag( session, (java.util.Collection) collection );	}	}						

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?