hibernate.cfg.xml配置文件中的这些东西是叫节点还是叫标签?
比如下面中的<hibernate-configuration><session-factory><property 分别都叫什么,
<session-factory>是<hibernate-configuration>的什么?子节点吗?
<property name="A">B</property>中的name是property的什么,属性吗?B又是property的什么?
这些有没有什么专业的名词?
新人自学中,见笑了................
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- hibernate的方言,用来确定连接的数据库 -->
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<mapping resource="org/zttc/itat/model/Classroom.hbm.xml"/>
</session-factory>
</hibernate-configuration>