address.hbm.xml
来自「关于HEBERNATE使用的一个简单例子」· XML 代码 · 共 57 行
XML
57 行
<?xml version="1.0"?><!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd"><hibernate-mapping> <class name="dbdemo.Address" table="Address2" dynamic-update="false" > <id name="id" column="ID" type="string" unsaved-value="any" > <generator class="assigned"> </generator> </id> <property name="city" type="string" update="true" insert="true" column="City" /> <property name="state" type="string" update="true" insert="true" column="State" /> <property name="zip" type="string" update="true" insert="true" column="Zip" /> <!-- To add non XDoclet property mappings, create a file named hibernate-properties-Address.xml containing the additional properties and place it in your merge dir. --> </class></hibernate-mapping>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?