-
May 26th, 2009, 11:32 AM
#1
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.
-
May 26th, 2009, 12:36 PM
#2
Simply inject the datasource you use for the EntityManagerFactory or create a JdbcTemplate and inject that into your class.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules