用eclipse+tomcat 开发hibernate时,为啥要重启 tomcat
我用eclipse + tomcat plugin + hibernate plugin 开发 JSP + hibernate
为啥一有hibernate exception 就要重启 tomcat.
好像改 hibernate hbm.xml, 也要重启 tomcat。
如何能不重启?
用jboss代替tomcat,能解决吗?
thanks
Jeff
我用eclipse + tomcat plugin + hibernate plugin 开发 JSP + hibernate
为啥一有hibernate exception 就要重启 tomcat.
好像改 hibernate hbm.xml, 也要重启 tomcat。
如何能不重启?
用jboss代替tomcat,能解决吗?
thanks
Jeff
jboss代替tomcat可以不重启,eclipse对tomcat重新分配运行环境,可以自己编辑这个环境不重启,但是我没去做,万一,Eclipse版本升级,换个新版本用,这些细节工作有得去做一遍,脑筋没这么好,影响效率。直接用JBoss得了。