前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="com.exam.online.domain.Program" table="program"> <id name="id" column="id" type="integer"> <generator class="increment" /> </id> <property name="number" column="number" type="string" length="20" /> <property name="question" column="question" type="string" length="500" /> <property name="answer" column="answer" type="string" length="500" /> <property name="subject" column="subject" type="string" length="20" /> <property name="author" column="author" type="string" length="20" /> <property name="regDate" column="regdate" type="timestamp" update="false"/> <property name="difficult" column="difficult" type="integer" length="10" /> </class> </hibernate-mapping>