@Test public void test2Update() { try { org.junit.Assert.assertNotNull(System.getProperty("AppCustomerTypePrimaryKey")); AppCustomerType appcustomertype = appcustomertypeRepository.findById(System.getProperty("AppCustomerTypePrimaryKey")); appcustomertype.setCustomerType("eyEFdK3OS2zViYT5desqaV2k1KoMtirEw5hvlrhlS5uKSg5Orb"); appcustomertype.setDefaults(1); appcustomertype.setSequenceId(2147483647); appcustomertype.setVersionId(1); appcustomertype.setEntityAudit(1, "xyz", RECORD_TYPE.UPDATE); appcustomertypeRepository.update(appcustomertype); } catch (java.lang.Exception e) { e.printStackTrace(); } }