More of a clarification of my last post, but with a better title... Since JBoss 4.0.3SP1 includes hibernate-annotations.jar in the server lib directory in a normal non-EJB3 install, I've been assuming that it can handle annotated entity classes without any mapping files. But when deploying an EAR with both a HAR and annotated entities inside the component EJB-JARs (ScanForMappingsEnabled=true), the Hibernate MBean doesn't notice any of the mapping annotations, and thus does nothing.
In normal Hibernate, you have to specify the annotated entities in the configuration code block. I was wondering if I have to do something like such, and where to put that code in a EAR-style deployment, if the MBean is configured in a -service.xml file in the EAR. Thanks for any advice! --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920707#3920707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920707 ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
