Package org.tarantool.facade

Examples of org.tarantool.facade.TarantoolTemplate7.addMapping()


  @Test
  public void testCycle3() throws MalformedURLException {
    Mapping<User> mapping = new Mapping7<User>(User.class, 125, "id", "phone", "point", "iq", "height", "lifeFormId", "salary", "birthday", "name", "sign",
        "male");
    TarantoolTemplate tpl = new TarantoolTemplate7(new SocketChannelPooledConnectionFactory("localhost", 33313, 1, 10));
    tpl.addMapping(mapping);
    try {
      tpl.find(User.class).condition("string");
      fail();
    } catch (IllegalArgumentException ignored) {
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.