On Sat, Nov 20, 2010 at 12:51 PM, robert.mcguinness <[email protected]> wrote: > > This will solve you lazy load exception, but will also open a transaction > for every request sent to the Wicket filter. To solve this problem, > implement > http://www.jarvana.com/jarvana/view/org/springframework/spring/1.2.9/spring-1.2.9-javadoc.jar!/org/springframework/jdbc/datasource/LazyConnectionDataSourceProxy.html > LazyConnectionDataSourceProxy , this fetches actual JDBC Connections lazily, > i.e. not until first creation of a Statement. >
By default, it doesn't actually start a transaction for every request. It will use up a connection from your pool, though, which is why you would use the LazyConnectionDataSourceProxy. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
