Examples of HardTokenPropertyDataPK


Examples of org.ejbca.core.ejb.hardtoken.HardTokenPropertyDataPK

  public void testHardTokenPropertyData() {
    LOG.trace(">testHardTokenPropertyData");
    logMemStats();
    HardTokenPropertyData entity = new HardTokenPropertyData();
    // Combined primary key id+property has to be less than 1000 bytes on MyISAM (UTF8: 3*(80+250) < 1000 bytes)
    entity.setHardTokenPropertyDataPK(new HardTokenPropertyDataPK(VARCHAR_80B, VARCHAR_250B));
    entity.setRowProtection(CLOB_10KiB);
    entity.setRowVersion(0);
    entity.setValue(VARCHAR_250B);
    storeAndRemoveEntity(entity);
    LOG.trace("<testHardTokenPropertyData");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.