Sorry - don't know anything about Resin, but it sort of makes sense - the SessionFactory is a static configuration, its loaded once and never refreshed. I might be wrong about that - ask in the Hibernate.org forums, they are very quick to respond, and you usually get one of the developers.
What we do is configure the SessionFactory programatically, by adding classes to a Configuration - this way when we redeploy the app, the app server (
JBoss) re-maps the Hibernate classes. You might want to try this if its not possible another way.
[ March 24, 2004: Message edited by: eammon bannon ]