System.out.println("Changed it");
cat.debug("Changed it");
    public void test02FindAndChange() throws Exception {        cat.debug(">test02FindAndChange()");        CertificateDataPK pk = new CertificateDataPK();        pk.fp = CertTools.getFingerprintAsString(cert);        CertificateData data2 = home.findByPrimaryKey(pk);        assertNotNull("Failed to find cert", data2);        System.out.println("found by key! ="+ data2);        System.out.println("fp="+data2.getFingerprint());        System.out.println("issuer="+data2.getIssuerDN());        System.out.println("subject="+data2.getSubjectDN());        System.out.println("cafp="+data2.getCAFingerprint());        System.out.println("status="+data2.getStatus());        System.out.println("type="+data2.getType());        System.out.println("serno="+data2.getSerialNumber());        System.out.println("expiredate="+data2.getExpireDate());        System.out.println("revocationdate="+data2.getRevocationDate());        System.out.println("revocationreason="+data2.getRevocationReason());        data2.setCAFingerprint("12345");        data2.setStatus(CertificateData.CERT_REVOKED);        data2.setType(SecConst.USER_ENDUSER);        data2.setRevocationDate(new Date());        data2.setRevocationReason(CRLData.REASON_KEYCOMPROMISE);        System.out.println("Changed it");       cat.debug("<test02FindAndChange()");    }