Mittwoch, 28. November 2007

dataTable ... and the Hibernate PersistantSet

Today i tried to do a h:datatable-iteration over a OneToMany relation which was implemented with a Set interface. The result was a not very informative error message that the PersistanSet does not have the wanted property.

After some experimenting i noticed that the dataTable does not work on the Set interface so i had to switch to a List interface.

Anyway ... the List interface was the better solution in this case.

Keine Kommentare: