Simple ORM in JAVA