Hi OpenJPA users! We are finally trying to use the latest OpenJPA release 2.4.0 and I’m really glad OpenJPA supprts Java 8! :-)
The project is somewhat old – it started using OpenJPA 2.2.0 a couple of years ago and still uses a custom auditing service that does not use the „new“ Auditor interface. But that’s about to change :-). That’s what my question is about: Some of our existing unit tests break because I’m no more able to track changes of lists (mapped as OneToMany). When asking Audited#getOriginalFieldValue of that list property I get „null“. I only get a result when explicitly fetch joining the collection but I hope that’s not the only solution. Did I miss something? Thanks for your help! Christopher