Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • Upgraded Hibernate from 3.2.5 to 3.6.0.
    • If you have any custom Hibernate UserType or CompositeUserType, you will likely be hit by a non-backwards-compatible change in Hibernate's type system.
    • See Non-backwards-compatible changes to Hibernate's Type API.
    • rowCount's return a Long instead of an Integer
      • Solution: Cast to Number instead of Integer for backwards/forwards compatibility or use OpenmrsUtil.convertToInteger(Long)
  • Form.xslt and Form.template have been moved into FormResources. The getter and setters for those properties will throw UnsupportedOperationException
  • Encounter.provider (User) is replaced by Encounter.encounterProviders (list of EncounterProvider)
  • Encounter.setProvider(User/Person) will attempt to discover the Provider object and add that with the role of "Unknown" to the encounter
  • Upgraded Liquibase from 1.9.4 to 2.0.1
  • Changed the transaction flush mode from AUTO to COMMIT and added automatic flushes after methods annotated with @Transactional(readOnly=false) or simply @Transactional like save, void, retire, etc.. It should not require any changes in your code unless you relied on AUTO flushes before service getters. (TRUNK-3069