I need to find a way of taking a hibernate object and discovering at runtime all of the getter methods that relate to persistable fields. I'm using annotations in the classes but have previously had difficulties working with them (I ran into a 2 year old bug the java developers still haven't fixed).
Does anyone know how I can do this please, ideally without using annotations? Thanks.
PS - What I'm trying to do here is to update a new object with values from an existing object dynamically.