Package com.oltpbenchmark.benchmarks.epinions.procedures

Examples of com.oltpbenchmark.benchmarks.epinions.procedures.UpdateUserName.run()


    public void updateUserName() throws SQLException {
        UpdateUserName proc = this.getProcedure(UpdateUserName.class);
        assert (proc != null);
        long uid = Long.valueOf(user_ids.get(rand.nextInt(user_ids.size())));
        String name = TextGenerator.randomStr(rng(), EpinionsConstants.NAME_LENGTH); // FIXME
        proc.run(conn, uid, name);
    }

    public void updateItemTitle() throws SQLException {
        UpdateItemTitle proc = this.getProcedure(UpdateItemTitle.class);
        assert (proc != null);
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.