Examples of SerialKeyCreator


Examples of org.apache.isis.runtimes.dflt.objectstores.nosql.SerialKeyCreator

    protected NoSqlDataDatabase createNoSqlDatabase(final IsisConfiguration configuration) {
        NoSqlDataDatabase db;
        final String host = configuration.getString(DB_HOST, "localhost");
        final int port = configuration.getInteger(DB_PORT, 0);
        final String name = configuration.getString(DB_NAME, "isis");
        final KeyCreator keyCreator = new SerialKeyCreator();
        db = new MongoDb(host, port, name, keyCreator);
        return db;
    }
View Full Code Here

Examples of org.apache.isis.runtimes.dflt.objectstores.nosql.SerialKeyCreator

            assumeThat(true, is(false)); // ignore if no MongoDB instance to
                                         // connect to
            return;
        }

        db = new MongoDb("localhost", 0, "testdb", new SerialKeyCreator());
        db.open();

        final ExampleValuePojo pojo = new ExampleValuePojo();
        pojo.setName("Fred Smith");
        oid = SerialOid.createTransient(3);
View Full Code Here

Examples of org.apache.isis.runtimes.dflt.objectstores.nosql.SerialKeyCreator

        } catch (final Exception e) {
            assumeThat(true, is(false)); // ignore if no MongoDB instance to connect to
            return;
        }

        db = new MongoDb("localhost", 0, "testdb", new SerialKeyCreator());
        db.open();

        final ExampleValuePojo pojo = new ExampleValuePojo();
        pojo.setName("Fred Smith");
        oid = SerialOid.createTransient(3);
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.