Package org.objectweb.speedo.pobjects.inheritance.userCache

Examples of org.objectweb.speedo.pobjects.inheritance.userCache.Litem


            Query query = pm.newQuery(e);
            query.setFilter("name == id");
            query.declareParameters("String id");
            query.setUnique(true);
            final String id = n + 3;
            Litem litem = (Litem) query.execute(id);//no query
            assertNotNull("Null value for " + id, litem);
            litem.setName(id + "bis");

            //Check that the old value is unbound
            litem = (Litem) query.execute(id);//query
            assertNull("Old value not unbound from the user cache, " + id, litem);
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.pobjects.inheritance.userCache.Litem

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.