Hi,

> Is there anyway to use same connection without trying to get the connection 
> every time in the spring? I know it is outside but if you know please let me 
> know.

You should use a 'real' connection pool. See
http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/jdbc/datasource/DriverManagerDataSource.html
"NOTE: This class is not an actual connection pool; it does not
actually pool Connections."

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to