I've looked at both JBoss and Hibernate source, and I am thinking the quick answer is NO. At least in JBoss 4.0.3.
Currently, the JBoss Hibernate MBean uses a Configuration object to initialize the session factory. In order to support annotations, it will need to use an AnnotationConfiguration object for initialization. It will also need to add some facility through the MBean's attributes to add the annotated packages and classes. So, for those using JBoss 4.0.3, wishing to try out annotations without resorting to EJB3, it looks like JBoss' Hibernate session mgmt cannot be used. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912949#3912949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912949 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
