1. 25 9月, 2013 1 次提交
    • J
      Removed S0 from BadSqlGrammarException codes · d9b62038
      Juergen Hoeller 提交于
      S0 doesn't seem to be universally used for SQL grammar problems: see MS SQL Server's RAISERROR. This was reported years back; not sure why the fix didn't actually appear in the codebase back then.
      
      Issue: SPR-10902
      d9b62038
  2. 14 5月, 2013 1 次提交
  3. 19 3月, 2013 2 次提交
  4. 02 3月, 2013 3 次提交
  5. 07 2月, 2013 1 次提交
  6. 02 1月, 2013 1 次提交
  7. 29 12月, 2012 7 次提交
  8. 12 12月, 2012 1 次提交
    • C
      Eliminate all Javadoc warnings · f2653470
      Chris Beams 提交于
       - Support external Javadoc links using Gradle's javadoc.options.links
      
       - Fix all other Javadoc warnings, such as typos, references to
         non-existent (or no longer existent) types and members, etc,
         including changes related to the Quartz 2.0 upgrade (SPR-8275) and
         adding the HTTP PATCH method (SPR-7985).
      
       - Suppress all output for project-level `javadoc` tasks in order to
         hide false-negative warnings about cross-module @see and @link
         references (e.g. spring-core having a @see reference to spring-web).
         Use the `--info` (-i) flag to gradle at any time to see project-level
         javadoc warnings without running the entire `api` task. e.g.
         `gradle :spring-core:javadoc -i`
      
       - Favor root project level `api` task for detection of legitimate
         Javadoc warnings. There are now zero Javadoc warnings across the
         entirety of spring-framework. Goal: keep it that way.
      
       - Remove all @link and @see references to types and members that exist
         only in Servlet <= 2.5 and Hibernate <= 4.0, favoring 3.0+ and 4.0+
         respectively. This is necessary because only one version of each of
         these dependencies can be present on the global `api` javadoc task's
         classpath. To that end, the `api` task classpath has now been
         customized to ensure that the Servlet 3 API and Hibernate Core 4 jars
         have precedence.
      
       - SPR-8896 replaced our dependency on aspectjrt with a dependency on
         aspectjweaver, which is fine from a POM point of view, but causes
         a spurious warning to be emitted from the ant iajc task that it
         "cannot find aspectjrt on the classpath" - even though aspectjweaver
         is perfectly sufficient. In the name of keeping the console quiet, a
         new `rt` configuration has been added, and aspectjrt added as a
         dependency to it. In turn, configurations.rt.asPath is appended to
         the iajc classpath during both compileJava and compileTestJava for
         spring-aspects.
      
      Issue: SPR-10078, SPR-8275, SPR-7985, SPR-8896
      f2653470
  9. 09 11月, 2012 1 次提交
  10. 16 5月, 2012 1 次提交
    • C
      Translate SQLTimeoutException to QueryTimeoutException · 2db4e15f
      Chris Beams 提交于
      SPR-7680 added QueryTimeoutException to Spring's DataAccessException
      hierarchy, but did not integrate it into the
      SQLExceptionSubclassTranslator; it was added mainly to accomodate users
      defining their own custom exception translators.
      
      However, it does make sense to translate any SQLTimeoutException to this
      new QueryTimeoutException type, and this commit makes that change. It
      does represent a slight backward-incompatibility, given that
      QueryTimeoutException extends TransientDataAccessException, whereas
      SQLExceptionSubclassTranslator previously returned the more specific
      TransientDataAccessResourceException for any SQLTimeoutException.
      
      It is expected that this incompatibily will be very low-impact, i.e. not
      affecting many (if any) users. In any case, a major release (Spring 3.2)
      is the right time to introduce such a change, and the migration path is
      straightforward: any users depending on catching
      TransientDataAccessResourceException in the case of query timeouts
      should update those catch blocks to expect QueryTimeoutException
      instead. Care should also be taken to ensure correctness of existing
      catch blocks expecting TransientDataAccessException, as these blocks
      will now catch QueryTimeoutException as well.
      
      Issue: SPR-9376, SPR-7680
      2db4e15f
  11. 31 1月, 2012 1 次提交
    • C
      Rename modules {org.springframework.*=>spring-*} · 02a4473c
      Chris Beams 提交于
      This renaming more intuitively expresses the relationship between
      subprojects and the JAR artifacts they produce.
      
      Tracking history across these renames is possible, but it requires
      use of the --follow flag to `git log`, for example
      
          $ git log spring-aop/src/main/java/org/springframework/aop/Advisor.java
      
      will show history up until the renaming event, where
      
          $ git log --follow spring-aop/src/main/java/org/springframework/aop/Advisor.java
      
      will show history for all changes to the file, before and after the
      renaming.
      
      See http://chrisbeams.com/git-diff-across-renamed-directories
      02a4473c