1. 25 5月, 2014 1 次提交
  2. 23 5月, 2014 3 次提交
    • R
      Add Gson converter to MVC config · e3a6fce4
      Rossen Stoyanchev 提交于
      Issue: SPR-9488
      e3a6fce4
    • R
      Polish · bc3ca2de
      Rossen Stoyanchev 提交于
      bc3ca2de
    • R
      Add GsonHttpMessageConverter · 811330f5
      Roy Clarkson 提交于
      This commit adds support to read and write JSON using the Google Gson
      library. GsonHttpMessageConverter offers default Gson configuration, but
      can be customized by using GsonFactoryBean. GsonFactoryBean includes
      several convenience properties for configuring the internal GsonBuilder
      and the resulting Gson object.
      
      By default Gson converts byte arrays to JSON arrays instead of a Base64
      encoded string. GsonBase64ByteArrayJsonTypeAdapter provides support to
      read and write Base64 encoded byte arrays, and can be enabled in
      GsonFactoryBean.
      
      RestTemplate will enable GsonHttpMessageConverter only if Jackson 2 is
      not found on the class path, because by default GsonHttpMessageConverter
      supports the same media types as Jackson.
      
      Issue: SPR-9488
      811330f5
  3. 21 5月, 2014 2 次提交
  4. 20 5月, 2014 16 次提交
  5. 19 5月, 2014 5 次提交
  6. 18 5月, 2014 1 次提交
  7. 17 5月, 2014 1 次提交
  8. 16 5月, 2014 7 次提交
  9. 15 5月, 2014 4 次提交
    • S
      Add error code for SAP Hana · 8614df8b
      Stephane Nicoll 提交于
      This commit adds a SQLErrorCodes instance for SAP DB, based on a
      contribution from Andrew Clemons
      
      Mostly based on SAP Hana SPS 07 with a few additional codes that are
      only present is previous versions:
      
      * -813 - Cannot connect to host somehost:30115 [Connection refused]
      * -709 - Unknown host somehost:30115 [somehost], -709.]
      * -708 - Cannot connect to jdbc:sap://somehost:30115 [Receive of connect failed.]
      * -11210 - Invalid column index XYZ.
      
      Issue: SPR-11770
      8614df8b
    • J
      Latest possible dependency updates for spring-orm · 0d22719e
      Juergen Hoeller 提交于
      0d22719e
    • J
      Polishing · 7230d6a1
      Juergen Hoeller 提交于
      7230d6a1
    • S
      Avoid JMSException in listener execution · 6560aed1
      Stephane Nicoll 提交于
      This commit avoids throwing JMSException from the listener execution
      as this is not allowed per spec. Our SessionAwareMessageListener
      gives a callback that can throw JMSException and we have "abused" it
      so far.
      
      Typical message processing goes in those 3 steps:
      * Unmarshall the javax.jms.Message to the requested type
      * Invoke the actual user method (including processing of method
        arguments)
      * Send a reply message, if any
      
      Those three steps have been harmonized so that they don't throw a
      JMSException anymore. For the later case, introduced
      ReplyFailureException as a general exception indicating the
      reply message could not have been sent.
      
      Issue: SPR-11778
      6560aed1