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.
Printable View
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.
Simply inject the datasource you use for the EntityManagerFactory or create a JdbcTemplate and inject that into your class.