Examples of truncateTables()


Examples of com.pardot.rhombus.ObjectMapper.truncateTables()

    // Insert something
    Map<String, Object> testObject = JsonUtil.rhombusMapFromJsonMap(TestHelpers.getTestObject(0), definition.getDefinitions().get("testtype"));
    UUID key = (UUID) om.insert("testtype", testObject);

    // Truncate tables
    om.truncateTables();

    // Make sure it is gone
    Map<String, Object> returnedObject = om.getByKey("testtype", key);
    assertNull(returnedObject);
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.