Archive for October, 2008

Annotation Mapping for Ordered Lists in Hibernate

October 20th, 2008 by stevi | 10 comments

Here’s another problem that has a simple solution that took me longer than I expected to find. I am using Hibernate 3.2.5 as my ORM. In one case, I want to map a child collection of items as an ordered List, taking advantage of the database to do my ordering. I’m using Annotations intead of [...]

Finding selected checkbox items in a JSF dataTable

October 9th, 2008 by stevi | 26 comments

This is one of those problems that I couldn’t find a complete example for when I needed it, so hopefully this will save somebody else the extra time it took me to piece it together. We frequently need to have data tables in our UI, and allow the user to select a subset of those [...]