2013年9月27日
摘要: 首先应该配置hibernate.cfg.xml org.hibernate.dialect.Oracle9Dialect hjdbc:oracle:thin:@localhost:1521:orcl chy chy oracle.jdbc.driver.OracleDriver news true true thread save-update 然后再类HibernateSessionFactory调用package hibernate;import org.hibernate.HibernateException;import org.hibernate.Sessio... 阅读全文
posted @ 2013-09-27 12:07 火玉 阅读(360) 评论(0) 推荐(0) 编辑