@@ -0,0 +1,1338 @@
+%0A/*%0A * Copyright (C) 2015 Archie L. Cobbs. All rights reserved.%0A */%0A%0Apackage org.jsimpledb;%0A%0Aimport java.util.UUID;%0A%0Aimport org.jsimpledb.annotation.JSimpleClass;%0Aimport org.jsimpledb.annotation.OnChange;%0Aimport org.jsimpledb.change.SimpleFieldChange;%0Aimport org.jsimpledb.test.TestSupport;%0Aimport org.testng.Assert;%0Aimport org.testng.annotations.Test;%0A%0Apublic class OnChangeNestedGetterTest extends TestSupport %7B%0A%0A    @Test%0A    public void testSimpleFieldChange() %7B%0A%0A        final JSimpleDB jdb = BasicTest.getJSimpleDB(Person.class);%0A        final JTransaction tx = jdb.createTransaction(true, ValidationMode.AUTOMATIC);%0A        JTransaction.setCurrent(tx);%0A        try %7B%0A%0A            final Person p = tx.create(Person.class);%0A            p.setId(UUID.randomUUID());%0A            p.setId(null);%0A            tx.commit();%0A%0A        %7D finally %7B%0A            JTransaction.setCurrent(null);%0A        %7D%0A    %7D%0A%0A// Model Classes%0A%0A    @JSimpleClass(storageId = 100)%0A    public abstract static class Person implements JObject %7B%0A%0A        @org.jsimpledb.annotation.JField(storageId = 101)%0A        public abstract UUID getId();%0A        public abstract void setId(UUID id);%0A%0A        @OnChange(%22id%22)%0A        private void change(SimpleFieldChange%3CPerson, ?%3E change) %7B%0A            Assert.assertEquals(this.getId(), change.getNewValue());%0A        %7D%0A    %7D%0A%7D%0A%0A

Add unit test exposing @OnChange bug.