graphictype.hbm

来自「基于java的组态软件。使用了hibernate和spring技术」· HBM 代码 · 共 42 行

HBM
42
字号
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
	"-//Hibernate/Hibernate Mapping DTD//EN"
	"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" >
<hibernate-mapping package="domain">
	<class name="GraphicType" table="graphicType">
	<cache usage="read-write"/>
		<id			column="graphicType_id"			name="Id"			type="integer"		>
			<generator class="native" />
		</id>
		<property			column="graphicType_name"			length="40"			name="GraphictypeName"			not-null="false"			type="string"		 />
		<property			column="graphicType_memo"			length="100"			name="GraphictypeMemo"			not-null="false"			type="string"		 />
		<set			inverse="true"			lazy="false"			name="GraphicItemSet"
			outer-join = "true"
			order-by="graphicItem_id">
			<cache usage="read-write"/>
			<key column="graphicType_id" />
			<one-to-many class="GraphicItem" />
		</set>
	</class>
</hibernate-mapping>

⌨️ 快捷键说明

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