Date fields are incorrectly preloaded on Oracle

Description

The HipChat integration library uses AO to store information about linked HipChat instances.

I have noticed that when this entity is loaded on Oracle, preloaded date fields are actually retrieved as Oracle timestamps. This can cause issues when the entity is later read from outside the context of a transaction, as reading the preloaded fields will fail causing AO to attempt to read from the database again.

In particular the code where this issue arises is at:
/atlassian-home/maven-repository/repository/com/atlassian/activeobjects/activeobjects-plugin/0.25.3/activeobjects-plugin-0.25.3-sources.jar!/net/java/ao/EntityProxy.java:735

Environment

None

Testing Notes

None

Status

Assignee

Unassigned

Reporter

Michael Oates

Labels

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Priority

Critical
Configure