Hibernate is very happy to use getters and setters for accessing data. If your persistent object has them for the fields you need, you don't need to worry about this at all.
If you need to persist a field that does not have a getter/setter, you can use the access="field" property attribute to access the field (through reflection, I think).
If your object is being saved correctly, but the fields aren't being initialized when retrieved, you want to look into 'lazy loading' and ways of turning it off.
|