Skip to content

OACC v2.0.0-rc.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@fspinnenhirn fspinnenhirn released this 12 Jan 02:19
· 127 commits to master since this release

Release date: 2016-01-11

Summary of changes in this release:

  • adds serialVersionUIDs to all applicable classes
  • deprecates preSerialize() methods
  • validates dataSource or connection are not null
  • fixes a bug that could cause NullPointerException for equals() and hashCode() of OACC's Resource implementation
  • modifies getAuthenticatedResource() and getSessionResource() to return lazily-cached defensive copies of the session variables
  • validates that database schema names are either null or a single sequence of unicode word characters
  • updates test suite for the aforementioned changes
  • updates copyright notices

Summary of API changes:

  • Improves serialization support
    • adds serialVersionUids to all applicable classes
    • unserializable fields are now marked transient
    • consistent usage of Serializable marker interface
  • Deprecation deprecates obsolete preSerialize() methods because unserializable fields are now marked transient

Bug fixes:

  • fixes #23 - equals() and hashCode() of OACC's Resource implementation no longer can produce NullPointerException when resource was created without a resourceId

Corresponding oacc-db release:
The version of the oacc-db database configuration scripts to be used with this release can be found here.