コード例 #1
0
 @Test
 public void test3FindById() {
   try {
     org.junit.Assert.assertNotNull(System.getProperty("AppCustomerTypePrimaryKey"));
     appcustomertypeRepository.findById(System.getProperty("AppCustomerTypePrimaryKey"));
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
コード例 #2
0
 @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();
   }
 }