I think the reason why the BeanContainer is not used, is that there might be a chicken-egg problem. A datasource might not be ready yet for injection when Hibernate boots, since this is needed during boot. Pull requests for this feature are welcome though. |