Update of /cvsroot/springframework/spring/src/org/springframework/jdbc/support
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18806/src/org/springframework/jdbc/support
Modified Files:
GeneratedKeyHolder.java
Log Message:
polishing
Index: GeneratedKeyHolder.java
===================================================================
RCS file: /cvsroot/springframework/spring/src/org/springframework/jdbc/support/GeneratedKeyHolder.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** GeneratedKeyHolder.java 26 Mar 2005 20:14:16 -0000 1.5
--- GeneratedKeyHolder.java 20 Apr 2006 10:33:29 -0000 1.6
***************
*** 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,
***************
*** 41,44 ****
--- 41,45 ----
private final List keyList;
+
/**
* Create a new GeneratedKeyHolder with a default list.
***************
*** 56,59 ****
--- 57,61 ----
}
+
public Number getKey() throws InvalidDataAccessApiUsageException, DataRetrievalFailureException {
if (this.keyList.size() == 0) {
|