Adding comments so things make sense.
Renaming resource to be more RESTfully descriptive.
Adding second endpoint for returning arbitrary users.
Slight code change to enable strong typing.
Renaming named queries to match the entity name
Adding resource for returning billsets for the current user.
Adding a facility easily to retrieve the current session's user to avoid duplication of this common code
Optimizing use of EntityManager and EntityManagerFactory and allowing the creation of bill sets.
Adding UUID ID type.
Fixing persistence and infinite loop issues.
Returning a Collection<> instead of a List<> to be more generic.
Adding many entities.
Adding many entities. Again.
Adding log4j for debugging HQL generation.
Refining log4j output.
Fixing annotation
Adding named query
Committing for comparison
Update DDL
Switching from Collection<T> to Set<T> due to Hibernate's inability to instantiate multiple bags. (I guess Set makes more sense anyway.) Also changing to eager loading so avoid lazy loading errors in detached entities.