hbm2ddl.auto配置为update,hibernate都会Drop掉表,然后重建,这是为什么? 10
<propertyname="cache.provider_class">org.hibernate.cache.NoCacheProvider</property><p...
<property name="cache.provider_class">
org.hibernate.cache.NoCacheProvider
</property>
<property name="show_sql">true</property>
<property name="current_session_context_class">thread</property>
<property name="hbm2ddl.auto">update</property>
<property name="myeclipse.connection.profile">Dao</property>
<mapping class="model.cn.Users" /> 展开
org.hibernate.cache.NoCacheProvider
</property>
<property name="show_sql">true</property>
<property name="current_session_context_class">thread</property>
<property name="hbm2ddl.auto">update</property>
<property name="myeclipse.connection.profile">Dao</property>
<mapping class="model.cn.Users" /> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询