<property
name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property
>
<property name="hibernate.connection.password">111</property>
<property
name="hibernate.connection.url">jdbc:mysql://localhost:3306/javadb</
property>
<property name="hibernate.connection.username">root</property>
<property
name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
</session-factory>
</hibernate-configuration>
Step5:Hibernate Console 配置
a.右键工程,点击 Run as-Run Configurations 进入如下界面并选择 Hibernate
Console Configuration:
评论0
最新资源