cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get java.sql.Connection object by code?

SOLVED
Highlighted

How to get java.sql.Connection object by code?

Hi to all!

I need to get Connection object from Spring. Anybody know how to do it?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to get java.sql.Connection object by code?

Thanks, Lori. The reference below give good information of how to use JdbcTemplate object.

Spring JdbcTemplate Querying examples

View solution in original post

2 REPLIES 2

Re: How to get java.sql.Connection object by code?

Anton, were you able to figure this out? I did a quick Google search and came across this and thought it might be helpful just in case:

http://stackoverflow.com/questions/25328155/getting-java-sql-connection-from-spring-jdbc-getjdbctemp...

Re: How to get java.sql.Connection object by code?

Thanks, Lori. The reference below give good information of how to use JdbcTemplate object.

Spring JdbcTemplate Querying examples

View solution in original post

Announcements
LiveWorx Call For Papers Happening Now!