Is is good practice to get database connections from SessionFactory or should it be from Datasource?

前端 未结 0 1779
孤街浪徒
孤街浪徒 2021-01-18 16:25

I needed to know if getting database connections in Hibernate is prescribed through sessions or through datasource?

I am using the below code to acccess database con

相关标签:
回答
  • 消灭零回复
提交回复
热议问题