Configure hibernate to connect to database via JNDI Datasource

后端 未结 4 1946
清酒与你
清酒与你 2020-11-27 12:29

Hi all I\'m using Hibernate+Struts2+Tomcat6+Mysql as my J2EE framework. I\'ve been using hibernate\'s built-in connection pooling mechanism but it turned out to be problemat

4条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 13:14

    Inside applicationContext.xml file of a maven Hibernet web app project below settings worked for me.

    
    
    



      
    


    Hope It will help someone.Thanks!

提交回复
热议问题