aspose file tools*
The moose likes Spring and the fly likes spring jdbcTemplate connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "spring jdbcTemplate connection" Watch "spring jdbcTemplate connection" New topic
Author

spring jdbcTemplate connection

ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 375
Here is a code from internet sample


My question are ---

1. Using this implementation, every time when I do "update" by passing a record, does spring create a NEW database connection for me ? Or does it keep using the same one ?

2. Where and how can I configure this connection thing ?

Arun Kumarr
Ranch Hand

Joined: May 16, 2005
Posts: 513

What does your update method in batchInsert do?
What code does it exactly have?

If you are not laughing at yourself, then you just didn't get the joke.
ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 375
it inserts data. it uses all standard spring API.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: spring jdbcTemplate connection