Package org.infinispan.loaders.jpa.entity

Examples of org.infinispan.loaders.jpa.entity.Document


    user.setUsername("jdoe");
    user.setFirstName("John");
    user.setLastName("Doe");
    userCache.put(user.getUsername(), user);
   
    Document doc = new Document();
    doc.setName("hello");
    doc.setTitle("Hello World");
    doc.setArticle("hello there... this is a test");
    docCache.put(doc.getName(), doc);
   
    Vehicle v = new Vehicle();
    v.setId(new VehicleId("CA", "123456"));
    v.setColor("RED");
    vehicleCache.put(v.getId(), v);
View Full Code Here

TOP

Related Classes of org.infinispan.loaders.jpa.entity.Document

Copyright © 2018 www.massapicom. 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.