Spring configuration of C3P0 with Hibernate?

后端 未结 2 1206
梦如初夏
梦如初夏 2021-01-02 05:23

I have a Spring/JPA application with Hibernate as the JPA provider. I\'ve configured a C3P0 data source in Spring via:



        
2条回答
  •  伪装坚强ぢ
    2021-01-02 05:49

    org.hibernate:hibernate-c3p0 looks like the module you would use if you were configuring Hibernate to use C3P0 directly.

    You shouldn't need it assuming the configuration you posted works for you - does it?

提交回复
热议问题