论坛首页 Java企业应用论坛

有人知道再WEBSPHERE V5下,怎么用JNDI的方式访问SESSIONFAC...

浏览 4847 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2003-09-28  
如题
   发表时间:2003-09-28  
请参考本站精华区
0 请登录后投票
   发表时间:2003-09-29  
精华区全部文章我都读了,但没有讲WEBSPHERE下怎么用HIBERNATE的呀
0 请登录后投票
   发表时间:2003-09-30  
oh, here it is
http://forum.hibernate.org.cn/viewtopic.php?t=245

This is about Weblogic, but it is same as Websphere, take a look.

hope that helps.
0 请登录后投票
   发表时间:2003-09-30  
xinxin 写道
oh, here it is
http://forum.hibernate.org.cn/viewtopic.php?t=245

This is about Weblogic, but it is same as Websphere, take a look.

hope that helps.


你试过吗?
为什么说同样适合WEBSPHERE,它怎么能同样适合WAS呢
比如,
public class HibernateStartUp implements T3StartupDef

WAS里根本没有这么个东西
0 请登录后投票
   发表时间:2003-09-30  
Yes, I have tried on WSAD5.0, and it worked ok for me (haven't tested it on WAS).  I said it is "same as Websphere", but not meaning that is 100 percent alike, and these two setups almost 90 percent same I believe.

That's true, there is no "public class HibernateStartUp implements T3StartupDef" in Websphere, however, and you don't need it at all in Websphere, 'cause that's just a start up for Weblogic.  So in Websphere you will be able to do all initializations in setSessionContext(...) function.

Hope that helps.
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics