[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5025?page=c...
]
Lukasz Antoniak reassigned HHH-5025:
------------------------------------
Assignee: Lukasz Antoniak
Support caching audit queries using ehcache's DiskStore.
--------------------------------------------------------
Key: HHH-5025
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5025
Project: Hibernate Core
Issue Type: Improvement
Components: envers
Reporter: Brent Worden
Assignee: Lukasz Antoniak
Priority: Minor
Enabling audit query caching with a ehcache cache configured as persisting to disk or
overflowing to disk. For example,
<defaultCache diskPersistent="true" eternal="false"
maxElementsInMemory="1000" maxElementsOnDisk="10000"
overflowToDisk="true" timeToIdleSeconds="300"
timeToLiveSeconds="3600" />
Results in the following exception:
java.io.NotSerializableException: org.hibernate.envers.entities.RevisionTypeType
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
The lack of needed serialization prohibits the use of ehcache's DiskStore.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira