|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Object example = new Object(); example.setProperty(uniqueValue);
List objects = ((TynamoPage)getPage()).getPersistenceService().getInstances(example);
(MyObject)objects.get(0);
when, in fact, I know that the single property I populated my example object with should be unique, and thus only
one object should be returned
Session.load(Class,java.io.Serializable)
Return the persistent instance of the given entity class with the given identifier, assuming that the instance
exists, throwing an exception if not found.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||