Announcement Announcement Module
Collapse
No announcement yet.
how to get SQL connection from spring JPA template? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to get SQL connection from spring JPA template?

    What are the steps to get java.sql.Connection from Spring JPA template. I need to get the connection so that I can call a oracle stored procedure.

  • #2
    Simply inject the datasource you use for the EntityManagerFactory or create a JdbcTemplate and inject that into your class.

    Comment

    Working...
    X