Skip to content

Instantly share code, notes, and snippets.

@kendall
Created May 7, 2010 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kendall/393584 to your computer and use it in GitHub Desktop.
Save kendall/393584 to your computer and use it in GitHub Desktop.
Book aBook = aManager.find(Book.class, URI.create("urn:x-domain:oreilly.com:product:9780596514129.IP"));
// prints: Switching to the Mac: The Missing Manual, Leopard Edition
System.err.println(aBook.getTitle());
// prints: O'Reilly Media / Pogue Press
System.err.println(aBook.getPublisher());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment