Check out BeanKeeper - that's the quickest, dirtiest and easiest ORM/persistence I've ever seen. Certainly beats iBatis that's for sure.
Store myStore = new Store((DataSource) ctx.lookup("jdbc/myds"));
package com.acme.bookstore;
public class Book
{
private String title;
private Author author;
...setters, getters...
}
package com.acme.bookstore;
public class Author
{
private String firstName;
private String lastName;
private Date birthDate;
...setters, getters...
}
store.save(book);