0 Replies Latest reply on Mar 28, 2006 5:23 AM by nigelwhite

    Programmatic configuration of EJB3 deployment.

    nigelwhite

      I need to add some Hibernate settings to my JBoss EJB3 deployment.

      The jars are currently scanned at deployment time, annotations are detected, and the entities deployed.

      But I want to set Interceptors in hibernate, so I need to get into that process.

      How can I do this?

      I've tried looking at Hibernate's Entity Manager documentation, and found an Ejb3Configuration class, but that doesn't do the scanning for annotations. If looked at Hibernate's PersistenceXmlLoader.

      I don't think I can use any of these. Jboss seems to need to do its own thing. How can I access JBoss's EJB3 deployment process, and add hibernate settings to it - particularly Interceptors?