[EMAIL PROTECTED] schrieb:
Thanks for response - you're right, one of he equals methods are invalid (always returned false). Why should be my solution complicated - these classes are hibernate pojos!
Well, it really depends on what you want to accomplish. If you only want to choose one object out of a set of persistent objects it would be sufficient to return the identifier of this object in getAsString (and use the identifier in your SelectItem list). In getAsObject you could then simply reload the entity with the id.
regards Michael

