michael wrote:
You can only do this if you don't use the MBean at all. You can still initialize Hibernate the "normal way" when using JBoss. I am however currently working on a new JBoss deployer architecture which will enable you to have the mappings picked up automatically without listing them explicitly. I hope to make that work publically acessible ASAP.
*bump*
I've been looking for this very information on the Hibernate site for the past hour and I've found nothing. Possibly I've overlooked something... still -- Michael, would it be possible to post an update on the status of automatic mapping in an MBean-configured SessionFactory? Would it even be possible for me -- still running under JBoss 3.2.3 -- to take advantage of such a feature? How about JBoss 3.2.6 (to which we are in the process of upgrading?) Hibernate version is 2.1.6, if this is relevant, and could (and probably will) be upgraded to 2.1.8 -- but not to 3.x yet!
Thanks,
Dani