Update of /cvsroot/springframework/spring/src/org/springframework/jdbc/core/support
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32009/src/org/springframework/jdbc/core/support
Modified Files:
JdbcDaoSupport.java
Log Message:
initialize specialized template in overridden "checkDaoConfig()" method
Index: JdbcDaoSupport.java
===================================================================
RCS file: /cvsroot/springframework/spring/src/org/springframework/jdbc/core/support/JdbcDaoSupport.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** JdbcDaoSupport.java 19 Nov 2005 20:17:58 -0000 1.16
--- JdbcDaoSupport.java 20 Apr 2006 13:43:33 -0000 1.17
***************
*** 1,11 ****
/*
! * Copyright 2002-2005 the original author or authors.
! *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
! *
* http://www.apache.org/licenses/LICENSE-2.0
! *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
--- 1,11 ----
/*
! * Copyright 2002-2006 the original author or authors.
! *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
! *
* http://www.apache.org/licenses/LICENSE-2.0
! *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
***************
*** 90,94 ****
}
! protected final void checkDaoConfig() {
if (this.jdbcTemplate == null) {
throw new IllegalArgumentException("dataSource or jdbcTemplate is required");
--- 90,94 ----
}
! protected void checkDaoConfig() {
if (this.jdbcTemplate == null) {
throw new IllegalArgumentException("dataSource or jdbcTemplate is required");
|