📄 graphicitem.hbm
字号:
<?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="GraphicItem" table="graphicItem">
<cache usage="read-write"/>
<id column="graphicItem_id" name="Id" type="integer"
unsaved-value= "null"
>
<generator class="native" />
</id>
<property column="graphicItem_name" length="40" name="GraphicitemName" not-null="false" type="string" />
<property column="graphicItem_icopath" length="100" name="GraphicitemIcopath" not-null="false" type="string" />
<property column="graphicItem_path" length="100" name="GraphicitemPath" not-null="true" type="string" />
<many-to-one class="GraphicType" name="Graphictype" not-null="true"
outer-join="true"
cascade="save-update" >
<column name="graphicType_id" />
</many-to-one>
<many-to-one class="AppletType" name="Applettype" not-null="true"
outer-join="true" >
<column name="appletType_id" />
</many-to-one>
<set inverse="true" lazy="true" name="AppGraphicItemSet" >
<cache usage="read-write"/>
<key column="graphicItem_id" />
<one-to-many class="AppGraphicItem" />
</set>
</class>
</hibernate-mapping>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -