12/14

1.怎样导入jar

http://jingyan.baidu.com/article/fc07f9892b705312ffe519dd.html

2.hibernate初学

http://www.cnblogs.com/eflylab/archive/2007/01/09/615338.html

报404,尚未调通。。

http://blog.sina.com.cn/s/blog_7c35df9b01011b1a.html

 

附:hibernate连接Oracle

<session-factory>
<property name="connection.username">SYSTEM</property>
<property name="connection.url">
jdbc:oracle:thin:@localhost:1521:xe
</property>
<property name="dialect">
org.hibernate.dialect.Oracle10gDialect
</property>
<property name="connection.password">123456</property>
<property name="connection.driver_class">
oracle.jdbc.driver.OracleDriver
</property>
<property name="show_sql">true</property>
<mapping resource="hibernate/PO/TRegister.hbm.xml" />

</session-factory>

posted @ 2016-12-14 23:37  smxy321  阅读(141)  评论(0编辑  收藏  举报