1.写个xml配置的helloword
2.写个annotation的helloword
3.验证(validate | update | create | create-drop)四个参数
检查 | 更新表结构 | 创建 | 创建,session失效后 drop
<property name="hbm2ddl.auto">update</property>
2.写个annotation的helloword
3.验证(validate | update | create | create-drop)四个参数
检查 | 更新表结构 | 创建 | 创建,session失效后 drop
<property name="hbm2ddl.auto">update</property>