⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bag.java

📁 一个Java持久层类库
💻 JAVA
字号:
//$Id: Bag.java 5793 2005-02-20 03:34:50Z oneovthafew $package org.hibernate.mapping;import org.hibernate.type.CollectionType;import org.hibernate.type.TypeFactory;/** * A bag permits duplicates, so it has no primary key * @author Gavin King */public class Bag extends Collection {	public Bag(PersistentClass owner) {		super(owner);	}	public CollectionType getDefaultCollectionType() {		return TypeFactory.bag( getRole(), getReferencedPropertyName(), isEmbedded() );	}	void createPrimaryKey() {		//create an index on the key columns??	}	public Object accept(ValueVisitor visitor) {		return visitor.accept(this);	}}

⌨️ 快捷键说明

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