摘要:
啥也不说了,直接看代码:UserTransaction tran = (UserTransaction)((new InitialContext()).lookup("java:comp/UserTransaction"));Configuration config1 = new Configuration().configure("/hibernate1.cfg.xml");SessionFac... 阅读全文
posted @ 2010-03-04 16:28
哈哈
阅读(391)
评论(0)
推荐(0)